//-----------------------------------------------------------------------------\r
void ReadSRI512Iso14443(DWORD parameter)\r
{\r
+ ReadSTMemoryIso14443(parameter,0x0F);
+}
+void ReadSRIX4KIso14443(DWORD parameter)
+{
+ ReadSTMemoryIso14443(parameter,0x7F);
+}
+
+void ReadSTMemoryIso14443(DWORD parameter,DWORD dwLast)
+{
BYTE i = 0x00;\r
\r
// Make sure that we start from off, since the tags are stateful;\r
DbpString("Tag memory dump, block 0 to 15");\r
cmd1[0] = 0x08;\r
i = 0x00;\r
+ dwLast++;
for (;;) {\r
- if (i == 0x10) {\r
+ if (i == dwLast) {
DbpString("System area block (0xff):");\r
i = 0xff;\r
}\r