Home
last modified time | relevance | path

Searched refs:HCP_HEADER_LEN (Results 1 – 20 of 20) sorted by relevance

/external/libnfc-nxp/src/
DphHciNfc_RFReaderA.c537 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ReaderA_Response()
538 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_ReaderA_Response()
580 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_ReaderA_Response()
589 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ReaderA_Response()
590 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_ReaderA_Response()
593 else if (length == HCP_HEADER_LEN) in phHciNfc_Recv_ReaderA_Response()
596 psHciContext->rx_index = HCP_HEADER_LEN; in phHciNfc_Recv_ReaderA_Response()
608 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_ReaderA_Response()
617 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ReaderA_Response()
618 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_ReaderA_Response()
[all …]
DphHciNfc_Jewel.c430 psHciContext->rx_index = HCP_HEADER_LEN; in phHciNfc_Recv_Jewel_Packet()
481 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_Jewel_Response()
485 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_Jewel_Response()
486 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_Jewel_Response()
521 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_Jewel_Response()
527 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_Jewel_Response()
528 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_Jewel_Response()
554 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_Jewel_Response()
557 pResponse[HCP_HEADER_LEN]) in phHciNfc_Recv_Jewel_Response()
578 case HCP_HEADER_LEN: in phHciNfc_Recv_Jewel_Response()
[all …]
DphHciNfc_Felica.c503 psHciContext->rx_index = (HCP_HEADER_LEN + 1); in phHciNfc_Recv_Felica_Packet()
547 psHciContext->rx_index = HCP_HEADER_LEN; in phHciNfc_Recv_Felica_Packet()
604 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_Felica_Response()
605 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_Felica_Response()
637 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_Felica_Response()
644 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_Felica_Response()
645 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_Felica_Response()
671 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_Felica_Response()
673 if (FEL_MULTIPLE_TAGS_FOUND == pResponse[HCP_HEADER_LEN]) in phHciNfc_Recv_Felica_Response()
693 case HCP_HEADER_LEN: in phHciNfc_Recv_Felica_Response()
[all …]
DphHciNfc_RFReaderB.c466 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ReaderB_Response()
467 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_ReaderB_Response()
504 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_ReaderB_Response()
513 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ReaderB_Response()
514 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_ReaderB_Response()
530 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_ReaderB_Response()
532 if (RDR_B_MULTIPLE_TAGS_FOUND == pResponse[HCP_HEADER_LEN]) in phHciNfc_Recv_ReaderB_Response()
554 case HCP_HEADER_LEN: in phHciNfc_Recv_ReaderB_Response()
563 case (HCP_HEADER_LEN + 1): in phHciNfc_Recv_ReaderB_Response()
566 pResponse[HCP_HEADER_LEN]; in phHciNfc_Recv_ReaderB_Response()
[all …]
DphHciNfc_DevMgmt.c1227 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_DevMgmt_Response()
1228 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_DevMgmt_Response()
1252 *p_device_mgmt_info->p_val = (uint8_t)( length > HCP_HEADER_LEN ) ? in phHciNfc_Recv_DevMgmt_Response()
1253 pResponse[HCP_HEADER_LEN]: 0; in phHciNfc_Recv_DevMgmt_Response()
1264 p_device_mgmt_info->test_status = (uint8_t) ( length > HCP_HEADER_LEN ) ? in phHciNfc_Recv_DevMgmt_Response()
1265 pResponse[HCP_HEADER_LEN]: 0; in phHciNfc_Recv_DevMgmt_Response()
1266 p_device_mgmt_info->test_result.buffer = (uint8_t)( length > HCP_HEADER_LEN ) ? in phHciNfc_Recv_DevMgmt_Response()
1267 &pResponse[HCP_HEADER_LEN]: NULL; in phHciNfc_Recv_DevMgmt_Response()
1268 p_device_mgmt_info->test_result.length = ( length - HCP_HEADER_LEN ); in phHciNfc_Recv_DevMgmt_Response()
1351 p_device_mgmt_info->pmuvcc_status = (uint8_t) ( length > HCP_HEADER_LEN ) ? in phHciNfc_Recv_DevMgmt_Event()
[all …]
DphHciNfc_WI.c513 length =length+HCP_HEADER_LEN ; in phHciNfc_Send_WI_Event()
592 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_WI_Response()
596 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_WI_Response()
597 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_WI_Response()
706 if (length > HCP_HEADER_LEN) in phHciNfc_Recv_WI_Event()
708 EventInfo.eventInfo.aid.length = length - HCP_HEADER_LEN; in phHciNfc_Recv_WI_Event()
DphHciNfc_CE_B.c503 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_CE_B_Response()
504 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_CE_B_Response()
663 if(length > HCP_HEADER_LEN) in phHciNfc_Recv_CE_B_Event()
667 &pEvent[HCP_HEADER_LEN], in phHciNfc_Recv_CE_B_Event()
668 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_CE_B_Event()
DphHciNfc_CE_A.c461 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_CE_A_Response()
462 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_CE_A_Response()
665 if(length > HCP_HEADER_LEN) in phHciNfc_Recv_CE_A_Event()
669 &pEvent[HCP_HEADER_LEN], in phHciNfc_Recv_CE_A_Event()
670 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_CE_A_Event()
DphHciNfc_PollingLoop.c633 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_PollLoop_Response()
634 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_PollLoop_Response()
680 || (length <= HCP_HEADER_LEN)) in phHciNfc_Recv_PollLoop_Event()
721 event_info.eventInfo.rd_phases = pEvent[HCP_HEADER_LEN]; in phHciNfc_Recv_PollLoop_Event()
734 event_info.eventInfo.rd_phases = pEvent[HCP_HEADER_LEN]; in phHciNfc_Recv_PollLoop_Event()
DphHciNfc_ISO15693.c482 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_ISO15693_Response()
483 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_ISO15693_Response()
516 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_ISO15693_Response()
523 psHciContext->rx_index = HCP_HEADER_LEN; in phHciNfc_Recv_ISO15693_Response()
669 uint16_t length = HCP_HEADER_LEN; in phHciNfc_Send_ISO15693_Command()
DphHciNfc_AdminMgmt.c656 length += HCP_HEADER_LEN ; in phHciNfc_Send_Admin_Event()
725 length += HCP_HEADER_LEN ; in phHciNfc_Send_Admin_Cmd()
873 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_Admin_Response()
874 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_Admin_Response()
978 || (HCP_HEADER_LEN > length ) in phHciNfc_Recv_Admin_Cmd()
1068 psHciContext->tx_total = HCP_HEADER_LEN; in phHciNfc_Recv_Admin_Cmd()
1107 || (HCP_HEADER_LEN > length ) in phHciNfc_Recv_Admin_Event()
DphHciNfc_NfcIPMgmt.c329 uint16_t length = HCP_HEADER_LEN; in phHciNfc_NfcIP_Presence_Check()
697 if (length >= HCP_HEADER_LEN) in phHciNfc_Recv_NfcIP_Response()
701 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_NfcIP_Response()
702 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_NfcIP_Response()
783 if(length > HCP_HEADER_LEN) in phHciNfc_Recv_NfcIP_Event()
785 HCI_DEBUG("NfcIP-1 activation mode : %d\n", pEvent[HCP_HEADER_LEN]); in phHciNfc_Recv_NfcIP_Event()
790 p_nfcipinfo->activation_mode = pEvent[HCP_HEADER_LEN]; in phHciNfc_Recv_NfcIP_Event()
831 &pEvent[HCP_HEADER_LEN], in phHciNfc_Recv_NfcIP_Event()
832 (length - HCP_HEADER_LEN)); in phHciNfc_Recv_NfcIP_Event()
959 uint16_t length = HCP_HEADER_LEN; in phHciNfc_NfcIP_Send_Data()
[all …]
DphHciNfc_LinkMgmt.c389 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_LinkMgmt_Response()
390 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_LinkMgmt_Response()
DphHciNfc_Emulation.c1179 || (HCP_HEADER_LEN > length ) in phHciNfc_Recv_Uicc_Cmd()
1235 psHciContext->tx_total = HCP_HEADER_LEN; in phHciNfc_Recv_Uicc_Cmd()
1299 if(length > HCP_HEADER_LEN + TRANSACTION_MIN_LEN) in phHciNfc_Recv_Uicc_Event()
1303 for(;i<(length-HCP_HEADER_LEN);) in phHciNfc_Recv_Uicc_Event()
DphHciNfc_SWP.c256 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_SWP_Response()
257 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_SWP_Response()
665 length = (length + HCP_HEADER_LEN); in phHciNfc_Send_SWP_Event()
DphHciNfc_IDMgmt.c690 &pResponse[HCP_HEADER_LEN], in phHciNfc_Recv_IDMgmt_Response()
691 (uint8_t)(length - HCP_HEADER_LEN)); in phHciNfc_Recv_IDMgmt_Response()
DphHciNfc_Generic.h174 #define HCP_HEADER_LEN 0x02U macro
DphHciNfc_Sequence.c2448 if ( (NULL != pdata) && (length >= HCP_HEADER_LEN) ) in phHciNfc_Test_Sequence()
2450 test_result.buffer = ( pdata + HCP_HEADER_LEN); in phHciNfc_Test_Sequence()
2451 test_result.length = length - HCP_HEADER_LEN; in phHciNfc_Test_Sequence()
DphHciNfc_RFReader.c2234 length += HCP_HEADER_LEN ; in phHciNfc_Send_RFReader_Event()
2320 length += HCP_HEADER_LEN ; in phHciNfc_Send_RFReader_Command()
DphHciNfc_Generic.c834 || ( length < HCP_HEADER_LEN ) in phHciNfc_Process_HCP()
1379 length += HCP_HEADER_LEN ; in phHciNfc_Send_Generic_Cmd()