summaryrefslogtreecommitdiffstats
path: root/src/phFriNfc_NdefMap.c
diff options
context:
space:
mode:
authorMartijn Coenen <martijn.coenen@nxp.com>2011-01-13 10:49:03 +0100
committerNick Pelly <npelly@google.com>2011-01-18 11:17:30 -0800
commita6243755a9b438bfbfe0be331ece55953f8cf9eb (patch)
tree4797ff8929bca87c03d2a62ca1224f76eb74862e /src/phFriNfc_NdefMap.c
parent72854a2c28b99f9ab6aa60c906d5b3c1a36b04d7 (diff)
downloadexternal_libnfc-nxp-a6243755a9b438bfbfe0be331ece55953f8cf9eb.zip
external_libnfc-nxp-a6243755a9b438bfbfe0be331ece55953f8cf9eb.tar.gz
external_libnfc-nxp-a6243755a9b438bfbfe0be331ece55953f8cf9eb.tar.bz2
Implement makeReadOnly() for dynamic T1T/T2T.
The NFC Forum Type 1 Tag and Type 2 Tag specification allows for tags with a dynamic memory layout. Support for making tags with the dynamic layout readonly has been added in this patch. Change-Id: I5bc8912d80f448fdea95e1ee21631c0f186ad79a
Diffstat (limited to 'src/phFriNfc_NdefMap.c')
-rw-r--r--src/phFriNfc_NdefMap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/phFriNfc_NdefMap.c b/src/phFriNfc_NdefMap.c
index d1fb133..88cf5ff 100644
--- a/src/phFriNfc_NdefMap.c
+++ b/src/phFriNfc_NdefMap.c
@@ -646,6 +646,11 @@ phFriNfc_NdefMap_ConvertToReadOnly (
}
case PH_FRINFC_NDEFMAP_TOPAZ_DYNAMIC_CARD:
+ {
+ result = phFriNfc_TopazDynamicMap_ConvertToReadOnly (NdefMap);
+ break;
+ }
+
default:
{
result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,