Home
last modified time | relevance | path

Searched refs:p_cmd_data (Results 1 – 8 of 8) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal_dta.c90 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t *cmd_len, uint8_t *p_cmd_data, in phNxpNHal_DtaUpdate() argument
98 if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
99 p_cmd_data[2] == 0x17 && p_cmd_data[3] == 0x01 && in phNxpNHal_DtaUpdate()
100 p_cmd_data[4] == 0x29 && p_cmd_data[5] == 0x14 ) in phNxpNHal_DtaUpdate()
104 phNxpNciHal_print_packet("DTASEND", p_cmd_data, *cmd_len); in phNxpNHal_DtaUpdate()
118 else if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x08 && p_cmd_data[2] == 0x04 in phNxpNHal_DtaUpdate()
119 && p_cmd_data[3] == 0xFF && p_cmd_data[4] == 0xFF) in phNxpNHal_DtaUpdate()
131 else if (p_cmd_data[0] == 0x20 && p_cmd_data[1] == 0x02 && in phNxpNHal_DtaUpdate()
132 p_cmd_data[2] == 0x10 && p_cmd_data[3] == 0x05 && in phNxpNHal_DtaUpdate()
133 p_cmd_data[10] == 0x32 && p_cmd_data[12] == 0x00) in phNxpNHal_DtaUpdate()
[all …]
DphNxpNciHal_ext.c586 NFCSTATUS phNxpNciHal_write_ext(uint16_t *cmd_len, uint8_t *p_cmd_data, in phNxpNciHal_write_ext() argument
594 phNxpNciHal_NfcDep_cmd_ext(p_cmd_data, cmd_len); in phNxpNciHal_write_ext()
598 status = phNxpNHal_DtaUpdate(cmd_len, p_cmd_data,rsp_len, p_rsp_data); in phNxpNciHal_write_ext()
601 if (p_cmd_data[0] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
602 p_cmd_data[1] == PROPRIETARY_CMD_FELICA_READER_MODE && in phNxpNciHal_write_ext()
603 p_cmd_data[2] == PROPRIETARY_CMD_FELICA_READER_MODE) in phNxpNciHal_write_ext()
605 NXPLOG_NCIHAL_D ("Received proprietary command to set Felica Reader mode:%d",p_cmd_data[3]); in phNxpNciHal_write_ext()
606 gFelicaReaderMode = p_cmd_data[3]; in phNxpNciHal_write_ext()
615 else if (p_cmd_data[0] == 0x20 && in phNxpNciHal_write_ext()
616 p_cmd_data[1] == 0x02 && in phNxpNciHal_write_ext()
[all …]
DphNxpNciHal_NfcDepSWPrio.c54 static void phNxpNciHal_NfcDep_store_ntf(uint8_t *p_cmd_data, uint16_t cmd_len);
376 static void phNxpNciHal_NfcDep_store_ntf(uint8_t *p_cmd_data, uint16_t cmd_len) in phNxpNciHal_NfcDep_store_ntf() argument
386 memcpy(p_iso_ntf_buff, p_cmd_data, cmd_len); in phNxpNciHal_NfcDep_store_ntf()
399 NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t *p_cmd_data, uint16_t cmd_len) in phNxpNciHal_NfcDep_comapre_ntf() argument
406 ret_val = memcmp(p_cmd_data,p_iso_ntf_buff, cmd_len); in phNxpNciHal_NfcDep_comapre_ntf()
599 void phNxpNciHal_NfcDep_cmd_ext(uint8_t *p_cmd_data, uint16_t *cmd_len) in phNxpNciHal_NfcDep_cmd_ext() argument
601 if (p_cmd_data[0] == 0x21 && p_cmd_data[1] == 0x03) in phNxpNciHal_NfcDep_cmd_ext()
603 if (*cmd_len == 6 && p_cmd_data[3] == 0x01 && p_cmd_data[4] == 0x02 in phNxpNciHal_NfcDep_cmd_ext()
604 && p_cmd_data[5] == 0x01) in phNxpNciHal_NfcDep_cmd_ext()
613 memcpy(&cmd_poll, p_cmd_data, cmd_poll_len); in phNxpNciHal_NfcDep_cmd_ext()
DphNxpNciHal_NfcDepSWPrio.h32 extern void phNxpNciHal_NfcDep_cmd_ext(uint8_t *p_cmd_data, uint16_t *cmd_len);
33 extern NFCSTATUS phNxpNciHal_NfcDep_comapre_ntf(uint8_t *p_cmd_data, uint16_t cmd_len);
DphNxpNciHal.h77 uint8_t p_cmd_data[NCI_MAX_DATA_LEN]; member
133 void phNxpNciHal_discovery_cmd_ext (uint8_t *p_cmd_data, uint16_t cmd_len);
DphNxpNciHal.c507 nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_open()
590 nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_open()
677 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write()
706 nxpncihal_ctrl.p_cmd_data, &nxpncihal_ctrl.rsp_len, in phNxpNciHal_write()
722 nxpncihal_ctrl.p_cmd_data); in phNxpNciHal_write()
764 memcpy(nxpncihal_ctrl.p_cmd_data, p_data, data_len); in phNxpNciHal_write_unlocked()
771 status = phTmlNfc_Write( (uint8_t *) nxpncihal_ctrl.p_cmd_data, in phNxpNciHal_write_unlocked()
1790 nxpncihal_ctrl.p_cmd_data, in phNxpNciHalRFConfigCmdRecSequence()
2740 void phNxpNciHal_discovery_cmd_ext (uint8_t *p_cmd_data, uint16_t cmd_len) in phNxpNciHal_discovery_cmd_ext() argument
2745 memcpy (discovery_cmd, p_cmd_data, cmd_len); in phNxpNciHal_discovery_cmd_ext()
DphNxpNciHal_ext.h26 NFCSTATUS phNxpNciHal_write_ext(uint16_t *cmd_len, uint8_t *p_cmd_data,
DphNxpNciHal_dta.h33 NFCSTATUS phNxpNHal_DtaUpdate(uint16_t *cmd_len, uint8_t *p_cmd_data,