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.cc102 memcpy(mMfcTagCmdIntfData.sendBuf, pData, cmdBuffLen); in BuildMfcCmd()
126 memcpy(pData, mMfcTagCmdIntfData.sendBuf, (mMfcTagCmdIntfData.sendBufLen)); in BuildMfcCmd()
144 if (mMfcTagCmdIntfData.sendBuf[0] == eMifareAuthentB) { in BuildAuthCmd()
150 if ((memcmp(aMfckeys[byIndex], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
161 memmove(&mMfcTagCmdIntfData.sendBuf[3], &mMfcTagCmdIntfData.sendBuf[6], in BuildAuthCmd()
166 mMfcTagCmdIntfData.sendBuf[0] = eMfcAuthReq; in BuildAuthCmd()
167 mMfcTagCmdIntfData.sendBuf[1] = mMfcTagCmdIntfData.byAddr; in BuildAuthCmd()
168 mMfcTagCmdIntfData.sendBuf[2] = byKey; in BuildAuthCmd()
182 uint8_t BlockNumber = mMfcTagCmdIntfData.sendBuf[1]; in CalcSectorAddress()
229 mMfcTagCmdIntfData.sendBuf[0] = eMfRawDataXchgHdr; in BuildWrite16Cmd()
[all …]
DNxpMfcReader.h102 uint8_t sendBuf[MAX_MFC_BUFF_SIZE]; /*Holds the ack of some initial commands*/ member