summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunil Jogi <sunil.jogi@nxp.com>2012-02-23 12:11:30 -0800
committerMartijn Coenen <maco@google.com>2012-03-05 13:34:29 -0800
commit3013fc787a24e3d20e4c36744062002a5b7be865 (patch)
tree39c97610fa7725b1aa614a66ff49f272f2b067ad
parent20b7bd5f6985dc890ac99d7d1e8154f965df02db (diff)
downloadexternal_libnfc-nxp-3013fc787a24e3d20e4c36744062002a5b7be865.zip
external_libnfc-nxp-3013fc787a24e3d20e4c36744062002a5b7be865.tar.gz
external_libnfc-nxp-3013fc787a24e3d20e4c36744062002a5b7be865.tar.bz2
Skip proprietry TLV for Type 2
Skipping proprietry TLV for Type 2 reading if it is present. Earlier Type 2 tag was not detected as NDEF tag is proprietry TLV present. Change-Id: Ia3ca722790f4a990fe976617aecbbdf6a7d53570
-rw-r--r--src/phFriNfc_MifareULMap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/phFriNfc_MifareULMap.c b/src/phFriNfc_MifareULMap.c
index 8d1df81..efaaceb 100644
--- a/src/phFriNfc_MifareULMap.c
+++ b/src/phFriNfc_MifareULMap.c
@@ -1584,7 +1584,9 @@ static NFCSTATUS phFriNfc_MfUL_H_findNDEFTLV(phFriNfc_NdefMap_t *NdefMap,
if ((NdefMap->SendRecvBuf[Temp16Bytes] ==
PH_FRINFC_NDEFMAP_MFUL_LOCK_CTRL_TLV) ||
(NdefMap->SendRecvBuf[Temp16Bytes] ==
- PH_FRINFC_NDEFMAP_MFUL_MEM_CTRL_TLV) )
+ PH_FRINFC_NDEFMAP_MFUL_MEM_CTRL_TLV) ||
+ (NdefMap->SendRecvBuf[Temp16Bytes] ==
+ PH_FRINFC_NDEFMAP_MFUL_PROPRIETRY_TLV))
{
NdefMap->TLVStruct.NdefTLVByte =