Home
last modified time | relevance | path

Searched refs:NFCSTATUS (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Nfc/nci/jni/extns/pn54x/src/
DphNxpExtns.cpp33 static NFCSTATUS phNxpExtns_ProcessSysMessage(phLibNfc_Message_t* msg);
34 static NFCSTATUS phNxpExtns_SendMsg(phLibNfc_Message_t* sysmsg);
56 NFCSTATUS EXTNS_Init(tNFA_DM_CBACK* p_nfa_dm_cback, in EXTNS_Init()
58 NFCSTATUS status = NFCSTATUS_FAILED; in EXTNS_Init()
111 NFCSTATUS EXTNS_MfcCallBack(uint8_t* buf, uint32_t buflen) { in EXTNS_MfcCallBack()
112 NFCSTATUS status = NFCSTATUS_SUCCESS; in EXTNS_MfcCallBack()
143 NFCSTATUS EXTNS_MfcCheckNDef(void) { in EXTNS_MfcCheckNDef()
144 NFCSTATUS status = NFCSTATUS_SUCCESS; in EXTNS_MfcCheckNDef()
174 NFCSTATUS EXTNS_MfcReadNDef(void) { in EXTNS_MfcReadNDef()
175 NFCSTATUS status = NFCSTATUS_SUCCESS; in EXTNS_MfcReadNDef()
[all …]
/packages/apps/Nfc/nci/jni/extns/pn54x/inc/
DphNxpExtns.h25 NFCSTATUS EXTNS_Init(tNFA_DM_CBACK* p_dm_cback, tNFA_CONN_CBACK* p_conn_cback);
27 NFCSTATUS EXTNS_MfcInit(tNFA_ACTIVATED& activationData);
28 NFCSTATUS EXTNS_MfcCheckNDef(void);
29 NFCSTATUS EXTNS_MfcReadNDef(void);
30 NFCSTATUS EXTNS_MfcPresenceCheck(void);
31 NFCSTATUS EXTNS_MfcWriteNDef(uint8_t* pBuf, uint32_t len);
32 NFCSTATUS EXTNS_MfcFormatTag(uint8_t* key, uint8_t len);
33 NFCSTATUS EXTNS_MfcDisconnect(void);
34 NFCSTATUS EXTNS_MfcActivated(void);
35 NFCSTATUS EXTNS_MfcTransceive(uint8_t* p_data, uint32_t len);
[all …]
DphNxpExtns_Custom.h68 NFCSTATUS phNxpExtns_get_version(uint32_t* hw_ver, uint32_t* fw_ver,
87 NFCSTATUS phNxpNciHal_read_tlv(tlv_t* tlv);
104 NFCSTATUS phNxpNciHal_write_tlv(tlv_t* tlv);
120 NFCSTATUS phNxpExtns_select_poll_tech(tNFA_TECHNOLOGY_MASK tech_mask);
137 NFCSTATUS phNxpExtns_select_ce_listen_tech(tNFA_TECHNOLOGY_MASK tech_mask);
157 NFCSTATUS phNxpExtns_select_p2p_poll_speed(p2p_speed_t p2p_initiator_speed);
174 NFCSTATUS phNxpExtns_select_p2p_listen_speed(p2p_speed_t p2p_target_speed);
190 NFCSTATUS phNxpExtns_select_se(SE_t se);
205 NFCSTATUS phNxpExtns_set_poll_mode(PollMode_t poll_mode);
225 NFCSTATUS phNxpExtns_start_poll(void);
[all …]
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphNxpExtns_MifareStd.cpp40 static NFCSTATUS phNciNfc_SendMfReq(phNciNfc_TransceiveInfo_t tTranscvInfo,
42 static NFCSTATUS phLibNfc_SendRawCmd(
45 static NFCSTATUS phLibNfc_SendWrt16Cmd(
48 static NFCSTATUS phLibNfc_SendAuthCmd(
51 static NFCSTATUS phLibNfc_MapCmds(phNciNfc_RFDevType_t RemDevType,
54 static NFCSTATUS phLibNfc_MifareMap(
57 static NFCSTATUS phLibNfc_ChkAuthCmdMFC(
59 static NFCSTATUS phLibNfc_GetKeyNumberMFC(uint8_t* buffer, uint8_t* bKey);
61 static NFCSTATUS phNciNfc_MfCreateAuthCmdHdr(
64 static NFCSTATUS phNciNfc_MfCreateXchgDataHdr(
[all …]
DphFriNfc_MifStdFormat.cpp33 static NFCSTATUS phFriNfc_MfStd_H_Transceive(
35 static NFCSTATUS phFriNfc_MfStd_H_CallDisCon(
36 phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, NFCSTATUS Status);
37 static NFCSTATUS phFriNfc_MfStd_H_CallCon(
39 static NFCSTATUS phFriNfc_MfStd_H_ProCon(
41 static NFCSTATUS phFriNfc_MfStd_H_ProAuth(
43 static NFCSTATUS phFriNfc_MfStd_H_ProRdSectTr(
45 static NFCSTATUS phFriNfc_MfStd_H_ProWrSectTr(
47 static NFCSTATUS phFriNfc_MfStd_H_WrRdAuth(
56 static NFCSTATUS phFriNfc_MfStd_H_ProWrMADBlk(
[all …]
DphNxpExtns_MifareStd.h191 NFCSTATUS status;
214 NFCSTATUS phFriNfc_ExtnsTransceive(phNfc_sTransceiveInfo_t* pTransceiveInfo,
218 NFCSTATUS phNxpExtns_MfcModuleInit(void);
219 NFCSTATUS phNxpExtns_MfcModuleDeInit(void);
220 NFCSTATUS Mfc_WriteNdef(uint8_t* p_data, uint32_t len);
221 NFCSTATUS Mfc_CheckNdef(void);
222 NFCSTATUS Mfc_ReadNdef(void);
223 NFCSTATUS Mfc_FormatNdef(uint8_t* secretkey, uint8_t len);
224 NFCSTATUS Mfc_Transceive(uint8_t* p_data, uint32_t len);
225 NFCSTATUS Mfc_SetReadOnly(uint8_t* secrtkey, uint8_t len);
[all …]
DphFriNfc_MifareStdMap.cpp28 static NFCSTATUS phFriNfc_MifStd_H_RdABlock(phFriNfc_NdefMap_t* NdefMap);
29 static NFCSTATUS phFriNfc_MifStd_H_WrABlock(phFriNfc_NdefMap_t* NdefMap);
30 static NFCSTATUS phFriNfc_MifStd_H_AuthSector(phFriNfc_NdefMap_t* NdefMap);
31 static NFCSTATUS phFriNfc_MifStd4k_H_CheckNdef(phFriNfc_NdefMap_t* NdefMap);
34 static NFCSTATUS phFriNfc_MifStd_H_BlkChk(phFriNfc_NdefMap_t* NdefMap);
35 static NFCSTATUS phFriNfc_MifStd_H_RdAcsBit(phFriNfc_NdefMap_t* NdefMap);
36 static NFCSTATUS phFriNfc_MifStd_H_ChkAcsBit(phFriNfc_NdefMap_t* NdefMap);
37 static NFCSTATUS phFriNfc_MifStd_H_ChkRdWr(phFriNfc_NdefMap_t* NdefMap);
39 static NFCSTATUS phFriNfc_MifStd_H_RemainTLV(phFriNfc_NdefMap_t* NdefMap,
42 static NFCSTATUS phFriNfc_MifStd_H_ChkIntLen(phFriNfc_NdefMap_t* NdefMap);
[all …]
DphFriNfc_MifareStdMap.h225 NFCSTATUS phFriNfc_MifareStdMap_H_Reset(phFriNfc_NdefMap_t* NdefMap);
226 NFCSTATUS phFriNfc_MifareStdMap_RdNdef(phFriNfc_NdefMap_t* NdefMap,
230 NFCSTATUS phFriNfc_MifareStdMap_WrNdef(phFriNfc_NdefMap_t* NdefMap,
234 NFCSTATUS phFriNfc_MifareStdMap_ChkNdef(phFriNfc_NdefMap_t* NdefMap);
236 void phFriNfc_MifareStdMap_Process(void* Context, NFCSTATUS Status);
237 extern NFCSTATUS phFrinfc_MifareClassic_GetContainerSize(
240 NFCSTATUS
DphFriNfc_SmtCrdFmt.cpp38 NFCSTATUS Status) { in phFriNfc_SmtCrdFmt_HCrHandler()
67 NFCSTATUS
72 NFCSTATUS result = NFCSTATUS_SUCCESS; in phFriNfc_NdefSmtCrd_Reset()
138 NFCSTATUS phFriNfc_NdefSmtCrd_SetCR(phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt, in phFriNfc_NdefSmtCrd_SetCR()
142 NFCSTATUS status = NFCSTATUS_SUCCESS; in phFriNfc_NdefSmtCrd_SetCR()
176 void phFriNfc_NdefSmtCrd_Process(void* Context, NFCSTATUS Status) { in phFriNfc_NdefSmtCrd_Process()
DphFriNfc_SmtCrdFmt.h110 NFCSTATUS
119 NFCSTATUS
125 NFCSTATUS phFriNfc_NdefSmtCrd_SetCR(phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt,
130 void phFriNfc_NdefSmtCrd_Process(void* Context, NFCSTATUS Status);
133 NFCSTATUS Status);
DphFriNfc_MifStdFormat.h344 NFCSTATUS phFriNfc_MfStd_Format(phFriNfc_sNdefSmtCrdFmt_t* NdefSmtCrdFmt,
346 void phFriNfc_MfStd_Process(void* Context, NFCSTATUS Status);
DphFriNfc.h62 typedef void (*pphFriNfc_Cr_t)(void*, NFCSTATUS);
/packages/apps/Nfc/nci/jni/extns/pn54x/src/common/
DphNfcStatus.h29 #define PHNFCSTBLOWER ((NFCSTATUS)(0x00FFU))
48 : ((((NFCSTATUS)(phNfcStatus)) & (PHNFCSTBLOWER)) | \
DphNfcTypes.h34 typedef uint16_t NFCSTATUS; /* Return values */ typedef