Decode more targets types from PN53x.

This commit is contained in:
Romuald Conty 2010-09-22 12:51:32 +00:00
parent bd547418e9
commit 2d6c0f5f1a

View file

@ -325,6 +325,7 @@ pn53x_decode_target_data (const byte_t * pbtRawData, size_t szDataLen, nfc_chip_
switch (ntt) {
case NTT_MIFARE:
case NTT_GENERIC_PASSIVE_106:
case NTT_ISO14443A_106:
// We skip the first byte: its the target number (Tg)
pbtRawData++;
@ -363,6 +364,7 @@ pn53x_decode_target_data (const byte_t * pbtRawData, size_t szDataLen, nfc_chip_
break;
case NTT_ISO14443B_106:
case NTT_ISO14443B_TCL_106:
// We skip the first byte: its the target number (Tg)
pbtRawData++;