Decode more targets types from PN53x.
This commit is contained in:
parent
bd547418e9
commit
2d6c0f5f1a
@ -325,6 +325,7 @@ pn53x_decode_target_data (const byte_t * pbtRawData, size_t szDataLen, nfc_chip_
|
|||||||
switch (ntt) {
|
switch (ntt) {
|
||||||
case NTT_MIFARE:
|
case NTT_MIFARE:
|
||||||
case NTT_GENERIC_PASSIVE_106:
|
case NTT_GENERIC_PASSIVE_106:
|
||||||
|
case NTT_ISO14443A_106:
|
||||||
// We skip the first byte: its the target number (Tg)
|
// We skip the first byte: its the target number (Tg)
|
||||||
pbtRawData++;
|
pbtRawData++;
|
||||||
|
|
||||||
@ -363,6 +364,7 @@ pn53x_decode_target_data (const byte_t * pbtRawData, size_t szDataLen, nfc_chip_
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case NTT_ISO14443B_106:
|
case NTT_ISO14443B_106:
|
||||||
|
case NTT_ISO14443B_TCL_106:
|
||||||
// We skip the first byte: its the target number (Tg)
|
// We skip the first byte: its the target number (Tg)
|
||||||
pbtRawData++;
|
pbtRawData++;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user