uint32_t pos;\r
uint8_t tmp4[4];\r
uint8_t par[1] = {0x00};\r
- byte_t nr[4];\r
+\r
+ // "random" reader nonce:\r
+ byte_t nr[4] = {0x55, 0x41, 0x49, 0x92};\r
+ //byte_t nr[4] = {0x01, 0x01, 0x01, 0x01};\r
+ \r
uint32_t nt, ntpp; // Supplied tag nonce\r
\r
uint8_t mf_nr_ar[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 };\r
if (MF_DBGLEVEL >= 4) Dbprintf("rand tag nonce len: %x", len); \r
if (len != 4) return 1;\r
\r
- // "random" reader nonce:\r
- nr[0] = 0x55;\r
- nr[1] = 0x41;\r
- nr[2] = 0x49;\r
- nr[3] = 0x92; \r
- \r
// Save the tag nonce (nt)\r
nt = bytes_to_num(receivedAnswer, 4);\r
\r