summaryrefslogtreecommitdiffstats
path: root/src/phFriNfc_NdefMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/phFriNfc_NdefMap.h')
-rw-r--r--src/phFriNfc_NdefMap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/phFriNfc_NdefMap.h b/src/phFriNfc_NdefMap.h
index 13eb348..4c4ab45 100644
--- a/src/phFriNfc_NdefMap.h
+++ b/src/phFriNfc_NdefMap.h
@@ -446,6 +446,8 @@ typedef struct phFriNfc_MifareStdCont
uint8_t SectorIndex;
/** to read the access bits of each sector */
uint8_t ReadAcsBitFlag;
+ /** Flag to check if Acs bit was written in this call */
+ uint8_t WriteAcsBitFlag;
/** Buffer to store 16 bytes */
uint8_t Buffer[PH_FRINFC_NDEFMAP_MIFARESTD_RDWR_SIZE];
/** to store the AIDs of Mifare 1k or 4k */
@@ -488,6 +490,15 @@ typedef struct phFriNfc_MifareStdCont
/** Flag is to know that this is first time the write has been called. This
is required when the card formatted with the 3rd configuration */
uint8_t FirstWriteFlag;
+ /** Indicates the sector trailor id for which the convert
+ to read only is currently in progress*/
+ uint8_t ReadOnlySectorIndex;
+ /** Indicates the total number of sectors on the card */
+ uint8_t TotalNoSectors;
+ /** Indicates the block number of the sector trailor on the card */
+ uint8_t SectorTrailerBlockNo;
+ /** Secret key B to given by the application */
+ uint8_t UserScrtKeyB[6];
}phFriNfc_MifareStdCont_t;
/*@}*/
#endif /* PH_FRINFC_MAP_MIFARESTD_DISABLED */