Home
last modified time | relevance | path

Searched refs:p_r_apdu (Results 1 – 2 of 2) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t4t.c74 static void rw_t4t_sm_detect_ndef (BT_HDR *p_r_apdu);
75 static void rw_t4t_sm_read_ndef (BT_HDR *p_r_apdu);
76 static void rw_t4t_sm_update_ndef (BT_HDR *p_r_apdu);
77 static void rw_t4t_sm_set_readonly (BT_HDR *p_r_apdu);
601 static void rw_t4t_sm_detect_ndef (BT_HDR *p_r_apdu) in rw_t4t_sm_detect_ndef() argument
616 p = (UINT8 *) (p_r_apdu + 1) + p_r_apdu->offset; in rw_t4t_sm_detect_ndef()
617 p += (p_r_apdu->len - T4T_RSP_STATUS_WORDS_SIZE); in rw_t4t_sm_detect_ndef()
674 if (p_r_apdu->len >= T4T_CC_FILE_MIN_LEN + T4T_RSP_STATUS_WORDS_SIZE) in rw_t4t_sm_detect_ndef()
676 p = (UINT8 *) (p_r_apdu + 1) + p_r_apdu->offset; in rw_t4t_sm_detect_ndef()
743 if (p_r_apdu->len == T4T_FILE_LENGTH_SIZE + T4T_RSP_STATUS_WORDS_SIZE) in rw_t4t_sm_detect_ndef()
[all …]
Dce_t4t.c53 static BOOLEAN ce_t4t_send_to_lower (BT_HDR *p_r_apdu) in ce_t4t_send_to_lower() argument
56 DispCET4Tags (p_r_apdu, FALSE); in ce_t4t_send_to_lower()
59 if (NFC_SendData (NFC_RF_CONN_ID, p_r_apdu) != NFC_STATUS_OK) in ce_t4t_send_to_lower()
78 BT_HDR *p_r_apdu; in ce_t4t_send_status() local
83 p_r_apdu = (BT_HDR *) GKI_getpoolbuf (NFC_CE_POOL_ID); in ce_t4t_send_status()
85 if (!p_r_apdu) in ce_t4t_send_status()
91 p_r_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in ce_t4t_send_status()
92 p = (UINT8 *) (p_r_apdu + 1) + p_r_apdu->offset; in ce_t4t_send_status()
96 p_r_apdu->len = T4T_RSP_STATUS_WORDS_SIZE; in ce_t4t_send_status()
98 if (!ce_t4t_send_to_lower (p_r_apdu)) in ce_t4t_send_status()
[all …]