diff options
author | Sunil Jogi <sunil.jogi@nxp.com> | 2012-01-12 13:47:03 -0800 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2012-04-02 10:35:05 -0700 |
commit | 40734e7599249717860f7aeabda494e1bcd86ffe (patch) | |
tree | 751c039f155c81680dfa35ce81eef53046a506ae /src/phFriNfc_NdefMap.h | |
parent | eb6da80b266a263350769a0e5629f4089aad32bb (diff) | |
download | external_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.zip external_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.tar.gz external_libnfc-nxp-40734e7599249717860f7aeabda494e1bcd86ffe.tar.bz2 |
Mifare readonly support.
This patch requires changes done in following projects submited as patches:
1. packages/apps/Nfc
2. frameworks/base
Change-Id: I9036309d82dd897e77f6bc14c30fbde255bf955c
Diffstat (limited to 'src/phFriNfc_NdefMap.h')
-rw-r--r-- | src/phFriNfc_NdefMap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/phFriNfc_NdefMap.h b/src/phFriNfc_NdefMap.h index 13eb348..b559d4d 100644 --- a/src/phFriNfc_NdefMap.h +++ b/src/phFriNfc_NdefMap.h @@ -488,6 +488,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 */ |