Fix a misunderstood Historical Bytes decoding
This commit is contained in:
parent
7c76e1bf32
commit
8142e69121
@ -132,12 +132,8 @@ print_nfc_iso14443a_info (const nfc_iso14443a_info_t nai)
|
||||
printf ("\n");
|
||||
if (nai.szAtsLen > offset) {
|
||||
// XXX More decoding can be done following ISO/IEC 7816-4 (8.1.1 Historical bytes)
|
||||
printf (" T1: %02x\n", nai.abtAts[offset] );
|
||||
offset++;
|
||||
if (nai.szAtsLen > offset) {
|
||||
printf (" Tk: " );
|
||||
print_hex (nai.abtAts + offset, (nai.szAtsLen - offset));
|
||||
}
|
||||
printf (" Historical bytes: " );
|
||||
print_hex (nai.abtAts + offset, (nai.szAtsLen - offset));
|
||||
}
|
||||
}
|
||||
if ((nai.btSak & SAK_ISO14443_4_COMPLIANT) || (nai.btSak & SAK_ISO18092_COMPLIANT)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user