Lines Matching refs:sendBuf
73 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()
188 memcpy(mMfcTagCmdIntfData.sendBuf + 1, mMfcTagCmdIntfData.sendBuf + 2, in BuildWrite16Cmd()
205 memcpy(buff, mMfcTagCmdIntfData.sendBuf, mMfcTagCmdIntfData.sendBufLen); in BuildRawCmd()
206 memcpy(mMfcTagCmdIntfData.sendBuf + 1, buff, mMfcTagCmdIntfData.sendBufLen); in BuildRawCmd()
207 mMfcTagCmdIntfData.sendBuf[0] = eMfRawDataXchgHdr; in BuildRawCmd()
224 memcpy(buff, mMfcTagCmdIntfData.sendBuf, mMfcTagCmdIntfData.sendBufLen); in BuildIncDecCmd()
225 memcpy(mMfcTagCmdIntfData.sendBuf + 1, buff, mMfcTagCmdIntfData.sendBufLen); in BuildIncDecCmd()
226 mMfcTagCmdIntfData.sendBuf[0] = eMfRawDataXchgHdr; in BuildIncDecCmd()
245 (uint8_t)mMfcTagCmdIntfData.sendBuf[0], in AuthForWrite()
246 (uint8_t)mMfcTagCmdIntfData.sendBuf[1]}; in AuthForWrite()