From 2d6c0f5f1ab495d5dd25f5644114c4c0f70427c4 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 22 Sep 2010 12:51:32 +0000 Subject: [PATCH] Decode more targets types from PN53x. --- libnfc/chips/pn53x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index 069a3c3..86cff99 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -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++;