mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-15 20:13:46 +00:00
Decode more targets types from PN53x.
This commit is contained in:
@@ -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++;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user