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

@ -230,14 +230,8 @@ typedef struct {
*/
typedef struct {
byte_t abtAtqb[12];
byte_t abtId[4];
byte_t btParam1;
byte_t btParam2;
byte_t btParam3;
byte_t btParam4;
byte_t btCid;
size_t szInfLen;
byte_t abtInf[64];
size_t szAttribRes;
byte_t abtAttribRes[64];
} nfc_iso14443b_info_t;
/**