Fix a misunderstood Historical Bytes decoding
This commit is contained in:
parent
7c76e1bf32
commit
8142e69121
1 changed files with 2 additions and 6 deletions
|
@ -132,14 +132,10 @@ 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: " );
|
||||
printf (" Historical bytes: " );
|
||||
print_hex (nai.abtAts + offset, (nai.szAtsLen - offset));
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((nai.btSak & SAK_ISO14443_4_COMPLIANT) || (nai.btSak & SAK_ISO18092_COMPLIANT)) {
|
||||
printf (" Compliant with: ");
|
||||
if (nai.btSak & SAK_ISO14443_4_COMPLIANT)
|
||||
|
|
Loading…
Add table
Reference in a new issue