Searched refs:SendRecvBuf (Results 1 - 21 of 21) sorted by relevance

/external/libnfc-nxp/src/
H A DphFriNfc_DesfireFormat.c213 NdefSmtCrdFmt->SendRecvBuf[i] = PH_FRINFC_DESF_NATIVE_CLASS_BYTE;
220 NdefSmtCrdFmt->SendRecvBuf[i] = PH_FRINFC_DESF_NATIVE_OFFSET_P1;
222 NdefSmtCrdFmt->SendRecvBuf[i] = PH_FRINFC_DESF_NATIVE_OFFSET_P2;
234 NdefSmtCrdFmt->SendRecvBuf[CmdByte] = PH_FRINFC_DESF_GET_VER_CMD;
239 NdefSmtCrdFmt->SendRecvBuf[CmdByte] = PH_FRINFC_DESF_PICC_ADDI_FRAME_RESP;
243 NdefSmtCrdFmt->SendRecvBuf[i] = 0x00;
261 NdefSmtCrdFmt->SendRecvBuf[CmdByte] = PH_FRINFC_DESF_CREATE_AID_CMD;
268 NdefSmtCrdFmt->SendRecvBuf[i] = (uint8_t)(PH_FRINFC_DESF_NATIVE_CRAPP_WRDT_LEN +
272 NdefSmtCrdFmt->SendRecvBuf[i] = DESFIRE_EV1_FIRST_AID_BYTE;
274 NdefSmtCrdFmt->SendRecvBuf[
[all...]
H A DphFriNfc_DesfireMap.c148 if( ( NdefMap->SendRecvBuf[*(NdefMap->SendRecvLength)- 1] == PH_FRINFC_DESF_NATIVE_GETVER_RESP) )
172 if( ( NdefMap->SendRecvBuf[*(NdefMap->SendRecvLength)- 1] == PH_FRINFC_DESF_NATIVE_GETVER_RESP) )
198 if( ( NdefMap->SendRecvBuf[*(NdefMap->SendRecvLength)- 1] == 0xAF) )
205 NdefMap->AddInfo.Type4Info.MajorVersion = NdefSmtCrdFmt->SendRecvBuf[3];
206 NdefMap->AddInfo.Type4Info.MinorVersion = NdefSmtCrdFmt->SendRecvBuf[4];
387 if((NdefMap->SendRecvBuf[BuffIndex] <= 0x03) ||
388 (NdefMap->SendRecvBuf[BuffIndex] >= 0x06) )
397 ((NdefMap->SendRecvBuf[BuffIndex] == 0x04)?
425 NdefMap->SendRecvBuf[0] = 0x00;
426 NdefMap->SendRecvBuf[
[all...]
H A DphFriNfc_FelicaMap.c432 (&(NdefMap->SendRecvBuf[13])),
475 (&(NdefMap->SendRecvBuf[13])),
481 (&( NdefMap->SendRecvBuf[13])),
504 (&(NdefMap->SendRecvBuf[PH_NFCFRI_NDEFMAP_FELI_RESP_HEADER_LEN+(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)])),
522 (&( NdefMap->SendRecvBuf[13])),
557 (&(NdefMap->SendRecvBuf[13])),
562 (&(NdefMap->SendRecvBuf[13+(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)])),
572 (&(NdefMap->SendRecvBuf[13])),
593 (&(NdefMap->SendRecvBuf[13])),
604 (&(NdefMap->SendRecvBuf[PH_NFCFRI_NDEFMAP_FELI_RESP_HEADER_LE
[all...]
H A DphFriNfc_DesfireMap.h172 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_0] = PH_FRINFC_DESF_NATIVE_CLASS_BYTE;\
173 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_2] = PH_FRINFC_DESF_NATIVE_OFFSET_P1;\
174 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_3] = PH_FRINFC_DESF_NATIVE_OFFSET_P2;\
182 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_1] = PH_FRINFC_DESF_GET_VER_CMD;\
186 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_1] = 0xAF;\
188 NdefMap->SendRecvBuf[PH_FRINFC_DESF_IDX_4] = 0x00;\
H A DphFriNfc_MifareULMap.c463 NdefMap->SendRecvBuf[index] = NdefMap->MifareULContainer.CurrentBlock;
495 NdefMap->SendRecvBuf,
497 NdefMap->SendRecvBuf,
558 if (((NdefMap->SendRecvBuf[index] &
561 (NdefMap->SendRecvBuf[(index + 1)] & MIF_UL_LOCK_BIT_CHECK)))
901 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A)
941 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A)
991 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A)
1050 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL0] == 0x0A)
1094 if (NdefMap->SendRecvBuf[PH_FRINFC_NDEFMAP_MFUL_VAL
[all...]
H A DphFriNfc_MifareStdMap.c673 NdefMap->SendRecvBuf[0] = NdefMap->StdMifareContainer.currentBlock;
682 NdefMap->SendRecvBuf,
684 NdefMap->SendRecvBuf,
1031 /* Size of NdefMap->SendRecvBuf is set by phLibNfc_Gen_NdefMapReset to PH_LIBNFC_GEN_MAX_BUFFER */
1035 NdefMap->SendRecvBuf[i] = NdefMap->SendRecvBuf[i-1];
1037 NdefMap->SendRecvBuf[PH_FRINFC_MIFARESTD_VAL0] =
1308 NdefMap->SendRecvBuf[PH_FRINFC_MIFARESTD_VAL0] =
1324 NdefMap->SendRecvBuf,
1326 NdefMap->SendRecvBuf,
[all...]
H A DphFriNfc_TopazMap.c281 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READID;
365 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL;
447 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL;
458 TempByteVal = NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1];
526 if((CC_READ_ONLY_VALUE == *psNdefMap->SendRecvBuf)
531 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ;
573 if((LOCK0_BYTE_VALUE == *psNdefMap->SendRecvBuf)
577 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ;
604 written_lock_byte = (uint8_t)(*psNdefMap->SendRecvBuf | LOCK1_BYTE_VALUE);
619 if((written_lock_byte == *psNdefMap->SendRecvBuf)
[all...]
H A DphFriNfc_ISO15693Format.c169 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)ISO15693_FMT_FLAGS;
172 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)command;
175 (void)memcpy ((void *)(psNdefSmtCrdFmt->SendRecvBuf + send_index),
186 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)
192 (void)memcpy ((void *)(psNdefSmtCrdFmt->SendRecvBuf + send_index),
206 *(psNdefSmtCrdFmt->SendRecvBuf + send_index) = (uint8_t)
235 psNdefSmtCrdFmt->SendRecvBuf,
237 psNdefSmtCrdFmt->SendRecvBuf,
350 (psNdefSmtCrdFmt->SendRecvBuf + ISO15693_EXTRA_RESPONSE_FLAG),
378 (psNdefSmtCrdFmt->SendRecvBuf[
[all...]
H A DphFriNfc_MifStdFormat.h194 (void)memset(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
208 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
219 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
229 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
241 (void)memset(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
255 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
266 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
276 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],\
H A DphFriNfc_MifULFormat.c308 (void *)NdefSmtCrdFmt->SendRecvBuf,
320 (void *)(NdefSmtCrdFmt->SendRecvBuf + i),
395 NdefSmtCrdFmt->SendRecvBuf,
418 (void *)NdefSmtCrdFmt->SendRecvBuf,
1149 NdefSmtCrdFmt->SendRecvBuf,
1151 NdefSmtCrdFmt->SendRecvBuf,
1169 NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFUL_FMT_VAL_0] = (uint8_t)BlockNo;
1182 *NdefSmtCrdFmt->SendRecvBuf = RD_LOCK_OTP_BLOCK_NUMBER;
1198 *NdefSmtCrdFmt->SendRecvBuf =
1213 *NdefSmtCrdFmt->SendRecvBuf
[all...]
H A DphFriNfc_TopazDynamicMap.c598 *NdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_RSEG;
691 NdefMap->SendRecvBuf[0] = PH_FRINFC_TOPAZ_CMD_READID;
735 *psNdefMap->SendRecvBuf = (uint8_t)PH_FRINFC_TOPAZ_CMD_WRITE_1E;
824 *NdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ8;
942 (void)memcpy ((void *)lock_bytes_value, (void *)psNdefMap->SendRecvBuf,
1036 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_WRITE_E8;
1073 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ8;
1128 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ8;
1154 *psNdefMap->SendRecvBuf = (uint8_t)PH_FRINFC_TOPAZ_CMD_READ8;
1189 (void *)(psNdefMap->SendRecvBuf
[all...]
H A DphFriNfc_ISO15693Map.c291 p_recv_buf = (psNdefMap->SendRecvBuf + ISO15693_EXTRA_RESP_BYTE);
351 p_recv_buf = (psNdefMap->SendRecvBuf + ISO15693_EXTRA_RESP_BYTE);
474 *(psNdefMap->SendRecvBuf + send_index) = (uint8_t)ISO15693_FLAGS;
477 *(psNdefMap->SendRecvBuf + send_index) = (uint8_t)command;
480 (void)memcpy ((void *)(psNdefMap->SendRecvBuf + send_index),
486 *(psNdefMap->SendRecvBuf + send_index) = (uint8_t)
493 (void)memcpy ((void *)(psNdefMap->SendRecvBuf + send_index),
504 psNdefMap->SendRecvBuf,
506 psNdefMap->SendRecvBuf,
535 *(psNdefMap->SendRecvBuf
[all...]
H A DphFriNfc_MifStdFormat.c345 NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_0] = (uint8_t)BlockNo;
404 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
410 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
416 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
421 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
426 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_11],
442 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
465 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
483 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_1],
489 (void)memcpy(&NdefSmtCrdFmt->SendRecvBuf[PH_FRINFC_MFSTD_FMT_VAL_
[all...]
H A DphFriNfc_IntNdefMap.c177 uint8_t T3TVerNo = NdefMap->SendRecvBuf[VersionIndex];
H A DphFriNfc_MapTools.c138 uint8_t TagVerNo = NdefMap->SendRecvBuf[VersionIndex];
H A DphFriNfc_SmtCrdFmt.h338 uint8_t *SendRecvBuf; member in struct:phFriNfc_sNdefSmtCrdFmt
H A DphLibNfc_ndef_raw.c650 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf =
654 if(NULL != gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf)
656 (void)memset(gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf,
711 if(gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf !=NULL)
713 phOsalNfc_FreeMemory(gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf);
714 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf=NULL;
800 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf,
802 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf,
1311 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf,
1444 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf,
[all...]
H A DphFriNfc_SmtCrdFmt.c114 NdefSmtCrdFmt->SendRecvBuf = SendRecvBuffer;
H A DphFriNfc_NdefMap.h845 uint8_t *SendRecvBuf; member in struct:phFriNfc_NdefMap
H A DphLibNfc.c577 if(NULL != gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf)
579 phOsalNfc_FreeMemory(gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf);
580 gpphLibContext->ndef_cntx.psNdefMap->SendRecvBuf = NULL;
H A DphFriNfc_NdefMap.c146 NdefMap->SendRecvBuf = ReceiveBuffer;

Completed in 4643 milliseconds