Lines Matching refs:NdefMap
64 NFCSTATUS phFriNfc_MapTool_SetCardState(phFriNfc_NdefMap_t *NdefMap, in phFriNfc_MapTool_SetCardState() argument
72 NdefMap->CardState =(uint8_t) (((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
74 (NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
81 switch(NdefMap->CardState) in phFriNfc_MapTool_SetCardState()
84 NdefMap->CardState =(uint8_t) ((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
86 NdefMap->CardState: in phFriNfc_MapTool_SetCardState()
91 NdefMap->CardState = (uint8_t)((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
93 NdefMap->CardState: in phFriNfc_MapTool_SetCardState()
98 NdefMap->CardState = (uint8_t)((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
100 NdefMap->CardState: in phFriNfc_MapTool_SetCardState()
102 if (NdefMap->CardType == PH_FRINFC_NDEFMAP_MIFARE_STD_1K_CARD || in phFriNfc_MapTool_SetCardState()
103 NdefMap->CardType == PH_FRINFC_NDEFMAP_MIFARE_STD_4K_CARD) in phFriNfc_MapTool_SetCardState()
105 if(NdefMap->StdMifareContainer.ReadOnlySectorIndex && in phFriNfc_MapTool_SetCardState()
106 … NdefMap->StdMifareContainer.SectorTrailerBlockNo == NdefMap->StdMifareContainer.currentBlock ) in phFriNfc_MapTool_SetCardState()
108 NdefMap->CardState = (uint8_t)((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
110 NdefMap->CardState: in phFriNfc_MapTool_SetCardState()
117 NdefMap->CardState = PH_NDEFMAP_CARD_STATE_INVALID; in phFriNfc_MapTool_SetCardState()
123 Result = ((NdefMap->CardState == in phFriNfc_MapTool_SetCardState()
133 NFCSTATUS phFriNfc_MapTool_ChkSpcVer( const phFriNfc_NdefMap_t *NdefMap, in phFriNfc_MapTool_ChkSpcVer() argument
138 uint8_t TagVerNo = NdefMap->SendRecvBuf[VersionIndex]; in phFriNfc_MapTool_ChkSpcVer()
147 switch (NdefMap->CardType) in phFriNfc_MapTool_ChkSpcVer()