Home
last modified time | relevance | path

Searched refs:sendBuf (Results 1 – 4 of 4) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/mifare/
DNxpMfcReader.cc78 memcpy(mMfcTagCmdIntfData.sendBuf, pData, cmdBuffLen); in BuildMfcCmd()
102 memcpy(pData, mMfcTagCmdIntfData.sendBuf, (mMfcTagCmdIntfData.sendBufLen)); in BuildMfcCmd()
120 if (mMfcTagCmdIntfData.sendBuf[0] == eMifareAuthentB) { in BuildAuthCmd()
126 if ((memcmp(aMfckeys[byIndex], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
137 memmove(&mMfcTagCmdIntfData.sendBuf[3], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
142 mMfcTagCmdIntfData.sendBuf[0] = eMfcAuthReq; in BuildAuthCmd()
143 mMfcTagCmdIntfData.sendBuf[1] = mMfcTagCmdIntfData.byAddr; in BuildAuthCmd()
144 mMfcTagCmdIntfData.sendBuf[2] = byKey; in BuildAuthCmd()
158 uint8_t BlockNumber = mMfcTagCmdIntfData.sendBuf[1]; in CalcSectorAddress()
191 mMfcTagCmdIntfData.sendBuf[0] = eMfRawDataXchgHdr; in BuildWrite16Cmd()
[all …]
DNxpMfcReader.h98 uint8_t sendBuf[MAX_MFC_BUFF_SIZE]; /*Holds the ack of some initial commands*/ member
/hardware/nxp/nfc/snxxx/halimpl/mifare/
DNxpMfcReader.cc73 memcpy(mMfcTagCmdIntfData.sendBuf, pData, cmdBuffLen); in BuildMfcCmd()
97 memcpy(pData, mMfcTagCmdIntfData.sendBuf, (mMfcTagCmdIntfData.sendBufLen)); in BuildMfcCmd()
115 if (mMfcTagCmdIntfData.sendBuf[0] == eMifareAuthentB) { in BuildAuthCmd()
121 if ((memcmp(aMfckeys[byIndex], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
132 memmove(&mMfcTagCmdIntfData.sendBuf[3], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
137 mMfcTagCmdIntfData.sendBuf[0] = eMfcAuthReq; in BuildAuthCmd()
138 mMfcTagCmdIntfData.sendBuf[1] = mMfcTagCmdIntfData.byAddr; in BuildAuthCmd()
139 mMfcTagCmdIntfData.sendBuf[2] = byKey; in BuildAuthCmd()
153 uint8_t BlockNumber = mMfcTagCmdIntfData.sendBuf[1]; in CalcSectorAddress()
186 mMfcTagCmdIntfData.sendBuf[0] = eMfRawDataXchgHdr; in BuildWrite16Cmd()
[all …]
DNxpMfcReader.h98 uint8_t sendBuf[MAX_MFC_BUFF_SIZE]; /*Holds the ack of some initial commands*/ member