Replace wrong decoded ISO14443-B data by ATTRIB_RES field.

New issue
Summary: Improve ISO 14443-B data (ATTRIB_RES) decoding
Before this revision, pn53x_decode_target_data() wrongly decode ISO14443-B. Currently, whole ATTRIB_RES field is stored in nfc_target_info_t struct.
I do not find the correct documentation to fix it better than this, but at least it now retrieves a correct value.
This commit is contained in:
Romuald Conty 2010-09-22 19:10:50 +00:00
parent 2d6c0f5f1a
commit e2a2557396
3 changed files with 7 additions and 36 deletions

View file

@ -137,14 +137,8 @@ print_nfc_iso14443b_info (const nfc_iso14443b_info_t nbi)
{
printf (" ATQB: ");
print_hex (nbi.abtAtqb, 12);
printf (" ID: ");
print_hex (nbi.abtId, 4);
printf (" CID: %02x\n", nbi.btCid);
if (nbi.szInfLen > 0) {
printf (" INF: ");
print_hex (nbi.abtInf, nbi.szInfLen);
}
printf (" PARAMS: %02x %02x %02x %02x\n", nbi.btParam1, nbi.btParam2, nbi.btParam3, nbi.btParam4);
printf (" ATTRIB_RES: ");
print_hex (nbi.abtAttribRes, nbi.szAttribRes);
}
/**