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
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 @@
}
case PH_FRINFC_NDEFMAP_TOPAZ_DYNAMIC_CARD:
+ {
+ result = phFriNfc_TopazDynamicMap_ConvertToReadOnly (NdefMap);
+ break;
+ }
+
default:
{
result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,