Home
last modified time | relevance | path

Searched refs:tNFC_STATUS (Results 1 – 25 of 34) sorted by relevance

12

/system/nfc/src/nfc/include/
Drw_api.h173 tNFC_STATUS status;
178 tNFC_STATUS status; /* Status of the POLL request */
187 tNFC_STATUS status; /* Status of the Get System Codes request */
193 tNFC_STATUS status; /* status of NDEF detection */
203 tNFC_STATUS status; /* status of NDEF detection */
210 tNFC_STATUS status;
215 tNFC_STATUS status;
222 tNFC_STATUS status; /* status of Inventory command */
229 tNFC_STATUS status; /* status of Read/Get security status command */
236 tNFC_STATUS status; /* status of Get Sys Info command */
[all …]
Dnfc_api.h110 typedef uint8_t tNFC_STATUS; typedef
214 tNFC_STATUS status; /* The event status. */
233 tNFC_STATUS status; /* The event status. */
240 tNFC_STATUS status; /* The event status. */
247 tNFC_STATUS status; /* The event status. */
280 tNFC_STATUS status; /* The event status - place holder */
295 tNFC_STATUS status; /* The event status.*/
312 tNFC_STATUS status; /* The event status */
321 tNFC_STATUS status; /* The event status */
330 tNFC_STATUS status; /* The event status */
[all …]
Dce_api.h52 tNFC_STATUS status;
59 tNFC_STATUS status;
65 tNFC_STATUS status;
88 extern tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max,
102 extern tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw);
113 extern tNFC_STATUS CE_T3tSendCheckRsp(uint8_t status1, uint8_t status2,
126 extern tNFC_STATUS CE_T3tSendUpdateRsp(uint8_t status1, uint8_t status2);
149 extern tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max,
194 extern tNFC_STATUS CE_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len);
205 extern tNFC_STATUS CE_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params,
Drw_int.h470 tNFC_STATUS status;
771 tNFC_STATUS* p_status);
779 extern tNFC_STATUS rw_t1t_select(uint8_t hr[T1T_HR_LEN],
781 extern tNFC_STATUS rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add,
783 extern tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add,
796 extern tNFC_STATUS rw_t2t_sector_change(uint8_t sector);
797 extern tNFC_STATUS rw_t2t_read(uint16_t block);
798 extern tNFC_STATUS rw_t2t_write(uint16_t block, uint8_t* p_write_data);
800 extern tNFC_STATUS rw_t2t_select(void);
804 extern tNFC_STATUS rw_t3t_select(uint8_t peer_nfcid2[NCI_RF_F_UID_LEN],
[all …]
Dce_int.h161 tNFC_STATUS ce_select_t3t(uint16_t system_code,
165 extern tNFC_STATUS ce_select_t4t(void);
Dnfc_int.h282 extern void nfc_ncif_report_conn_close_evt(uint8_t conn_id, tNFC_STATUS status);
306 void nfc_enabled(tNFC_STATUS nfc_status, NFC_HDR* p_init_rsp_msg);
/system/nfc/src/nfc/nfc/
Dnfc_ee.cc53 tNFC_STATUS NFC_NfceeDiscover(bool discover) { in NFC_NfceeDiscover()
74 tNFC_STATUS NFC_NfceeModeSet(uint8_t nfcee_id, tNFC_NFCEE_MODE mode) { in NFC_NfceeModeSet()
75 tNFC_STATUS status = NCI_STATUS_OK; in NFC_NfceeModeSet()
113 tNFC_STATUS NFC_SetRouting(bool more, uint8_t num_tlv, uint8_t tlv_size, in NFC_SetRouting()
129 tNFC_STATUS NFC_GetRouting(void) { return nci_snd_get_routing_cmd(); } in NFC_GetRouting()
153 tNFC_STATUS NFC_NfceePLConfig(uint8_t nfcee_id, in NFC_NfceePLConfig()
Dnfc_vs.cc54 tNFC_STATUS NFC_RegVSCback(bool is_register, tNFC_VS_CBACK* p_cback) { in NFC_RegVSCback()
55 tNFC_STATUS status = NFC_STATUS_FAILED; in NFC_RegVSCback()
93 tNFC_STATUS NFC_SendRawVsCommand(NFC_HDR* p_data, tNFC_VS_CBACK* p_cback) { in NFC_SendRawVsCommand()
125 tNFC_STATUS NFC_SendVsCommand(uint8_t oid, NFC_HDR* p_data, in NFC_SendVsCommand()
127 tNFC_STATUS status = NFC_STATUS_OK; in NFC_SendVsCommand()
Dnfc_main.cc165 static void nfc_main_notify_enable_status(tNFC_STATUS nfc_status) { in nfc_main_notify_enable_status()
193 void nfc_enabled(tNFC_STATUS nfc_status, NFC_HDR* p_init_rsp_msg) { in nfc_enabled()
663 tNFC_STATUS NFC_Enable(tNFC_RESPONSE_CBACK* p_cback) { in NFC_Enable()
780 tNFC_STATUS NFC_SetConfig(uint8_t tlv_size, uint8_t* p_param_tlvs) { in NFC_SetConfig()
798 tNFC_STATUS NFC_GetConfig(uint8_t num_ids, uint8_t* p_param_ids) { in NFC_GetConfig()
817 tNFC_STATUS NFC_DiscoveryMap(uint8_t num, tNFC_DISCOVER_MAPS* p_maps, in NFC_DiscoveryMap()
881 tNFC_STATUS NFC_DiscoveryStart(uint8_t num_params, in NFC_DiscoveryStart()
886 tNFC_STATUS status = NFC_STATUS_NO_BUFFERS; in NFC_DiscoveryStart()
929 tNFC_STATUS NFC_DiscoverySelect(uint8_t rf_disc_id, uint8_t protocol, in NFC_DiscoverySelect()
949 tNFC_STATUS NFC_ConnCreate(uint8_t dest_type, uint8_t id, uint8_t protocol, in NFC_ConnCreate()
[all …]
Dnfc_test.cc52 tNFC_STATUS NFC_TestLoopback(NFC_HDR* p_data) { in NFC_TestLoopback()
53 tNFC_STATUS status = NFC_STATUS_FAILED; in NFC_TestLoopback()
/system/nfc/src/nfc/tags/
Drw_t1t.cc50 static void rw_t1t_handle_presence_check_rsp(tNFC_STATUS status);
283 evt_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t1t_conn_cback()
324 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) { in rw_t1t_send_static_cmd()
325 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_send_static_cmd()
384 tNFC_STATUS rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add, uint8_t* p_dat) { in rw_t1t_send_dyn_cmd()
385 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_send_dyn_cmd()
492 tNFC_STATUS rw_t1t_select(uint8_t hr[T1T_HR_LEN], in rw_t1t_select()
494 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_select()
660 void rw_t1t_handle_presence_check_rsp(tNFC_STATUS status) { in rw_t1t_handle_presence_check_rsp()
709 tNFC_STATUS RW_T1tPresenceCheck(void) { in RW_T1tPresenceCheck()
[all …]
Dce_main.cc61 tNFC_STATUS CE_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len) { in CE_SendRawFrame()
62 tNFC_STATUS status = NFC_STATUS_FAILED; in CE_SendRawFrame()
91 tNFC_STATUS CE_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params, in CE_SetActivatedTagType()
94 tNFC_STATUS status = NFC_STATUS_FAILED; in CE_SetActivatedTagType()
Drw_t3t.cc135 static tNFC_STATUS rw_t3t_unselect();
137 static tNFC_STATUS rw_t3t_send_to_lower(NFC_HDR* p_msg);
240 void rw_t3t_process_error(tNFC_STATUS status) { in rw_t3t_process_error()
419 void rw_t3t_format_cplt(tNFC_STATUS status) { in rw_t3t_format_cplt()
451 void rw_t3t_set_readonly_cplt(tNFC_STATUS status) { in rw_t3t_set_readonly_cplt()
554 tNFC_STATUS rw_t3t_send_to_lower(NFC_HDR* p_msg) { in rw_t3t_send_to_lower()
603 tNFC_STATUS rw_t3t_send_cmd(tRW_T3T_CB* p_cb, uint8_t rw_t3t_cmd, in rw_t3t_send_cmd()
605 tNFC_STATUS retval; in rw_t3t_send_cmd()
642 tNFC_STATUS rw_t3t_send_update_ndef_attribute_cmd(tRW_T3T_CB* p_cb, in rw_t3t_send_update_ndef_attribute_cmd()
644 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd()
[all …]
Drw_t2t.cc46 static tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat);
49 static void rw_t2t_handle_presence_check_rsp(tNFC_STATUS status);
303 evt_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t2t_conn_cback()
348 tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat) { in rw_t2t_send_cmd()
349 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t2t_send_cmd()
573 void rw_t2t_handle_presence_check_rsp(tNFC_STATUS status) { in rw_t2t_handle_presence_check_rsp()
651 tNFC_STATUS rw_t2t_sector_change(uint8_t sector) { in rw_t2t_sector_change()
652 tNFC_STATUS status; in rw_t2t_sector_change()
706 tNFC_STATUS rw_t2t_read(uint16_t block) { in rw_t2t_read()
707 tNFC_STATUS status; in rw_t2t_read()
[all …]
Drw_t1t_ndef.cc44 static tNFC_STATUS rw_t1t_handle_rall_rsp(bool* p_notify, uint8_t* p_data);
45 static tNFC_STATUS rw_t1t_handle_dyn_read_rsp(bool* p_notify, uint8_t* p_data);
46 static tNFC_STATUS rw_t1t_handle_write_rsp(bool* p_notify, uint8_t* p_data);
47 static tNFC_STATUS rw_t1t_handle_read_rsp(bool* p_callback, uint8_t* p_data);
48 static tNFC_STATUS rw_t1t_handle_tlv_detect_rsp(uint8_t* p_data);
49 static tNFC_STATUS rw_t1t_handle_ndef_read_rsp(uint8_t* p_data);
50 static tNFC_STATUS rw_t1t_handle_ndef_write_rsp(uint8_t* p_data);
51 static tNFC_STATUS rw_t1t_handle_ndef_rall_rsp(void);
52 static tNFC_STATUS rw_t1t_ndef_write_first_block(void);
53 static tNFC_STATUS rw_t1t_next_ndef_write_block(void);
[all …]
Drw_t2t_ndef.cc58 static tNFC_STATUS rw_t2t_read_locks(void);
59 static tNFC_STATUS rw_t2t_read_ndef_last_block(void);
64 static tNFC_STATUS rw_t2t_write_ndef_first_block(uint16_t msg_len,
66 static tNFC_STATUS rw_t2t_write_ndef_next_block(uint16_t block,
69 static tNFC_STATUS rw_t2t_read_ndef_next_block(uint16_t block);
70 static tNFC_STATUS rw_t2t_add_terminator_tlv(void);
73 static tNFC_STATUS rw_t2t_set_cc(uint8_t tms);
74 static tNFC_STATUS rw_t2t_set_lock_tlv(uint16_t addr, uint8_t num_dyn_lock_bits,
76 static tNFC_STATUS rw_t2t_format_tag(void);
77 static tNFC_STATUS rw_t2t_soft_lock_tag(void);
[all …]
Drw_i93.cc99 void rw_i93_handle_error(tNFC_STATUS status);
100 tNFC_STATUS rw_i93_send_cmd_get_sys_info(uint8_t* p_uid, uint8_t extra_flag);
101 tNFC_STATUS rw_i93_send_cmd_get_ext_sys_info(uint8_t* p_uid);
721 tNFC_STATUS rw_i93_send_cmd_inventory(uint8_t* p_uid, bool including_afi, in rw_i93_send_cmd_inventory()
783 tNFC_STATUS rw_i93_send_cmd_stay_quiet(void) { in rw_i93_send_cmd_stay_quiet()
832 tNFC_STATUS rw_i93_send_cmd_read_single_block(uint16_t block_number, in rw_i93_send_cmd_read_single_block()
899 tNFC_STATUS rw_i93_send_cmd_write_single_block(uint16_t block_number, in rw_i93_send_cmd_write_single_block()
979 tNFC_STATUS rw_i93_send_cmd_lock_block(uint8_t block_number) { in rw_i93_send_cmd_lock_block()
1046 tNFC_STATUS rw_i93_send_cmd_read_multi_blocks(uint16_t first_block_number, in rw_i93_send_cmd_read_multi_blocks()
1121 tNFC_STATUS rw_i93_send_cmd_write_multi_blocks(uint16_t first_block_number, in rw_i93_send_cmd_write_multi_blocks()
[all …]
Drw_mfc.cc91 static tNFC_STATUS rw_mfc_readBlock(int block);
93 static tNFC_STATUS rw_MfcLocateTlv(uint8_t tlv_type);
98 static void rw_mfc_ntf_tlv_detect_complete(tNFC_STATUS status);
104 static tNFC_STATUS rw_mfc_formatBlock(int block);
107 static tNFC_STATUS rw_mfc_writeBlock(int block);
127 tNFC_STATUS RW_MfcFormatNDef(void) { in RW_MfcFormatNDef()
129 tNFC_STATUS status = NFC_STATUS_OK; in RW_MfcFormatNDef()
162 static tNFC_STATUS rw_mfc_formatBlock(int block) { in rw_mfc_formatBlock()
167 tNFC_STATUS status = NFC_STATUS_OK; in rw_mfc_formatBlock()
321 tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer) { in RW_MfcWriteNDef()
[all …]
Drw_main.cc170 tNFC_STATUS RW_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len) { in RW_SendRawFrame()
171 tNFC_STATUS status = NFC_STATUS_FAILED; in RW_SendRawFrame()
201 tNFC_STATUS RW_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params, in RW_SetActivatedTagType()
203 tNFC_STATUS status = NFC_STATUS_FAILED; in RW_SetActivatedTagType()
Dce_t3t.cc208 tNFC_STATUS nfc_status = NFC_STATUS_OK; in ce_t3t_handle_update_cmd()
841 tNFC_STATUS ce_select_t3t(uint16_t system_code, in ce_select_t3t()
864 tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max, in CE_T3tSetLocalNDEFMsg()
919 tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw) { in CE_T3tSetLocalNDefParams()
947 tNFC_STATUS CE_T3tSendCheckRsp(uint8_t status1, uint8_t status2, in CE_T3tSendCheckRsp()
950 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendCheckRsp()
1004 tNFC_STATUS CE_T3tSendUpdateRsp(uint8_t status1, uint8_t status2) { in CE_T3tSendUpdateRsp()
1005 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendUpdateRsp()
Drw_t4t.cc112 static void rw_t4t_handle_error(tNFC_STATUS status, uint8_t sw1, uint8_t sw2);
1000 static void rw_t4t_handle_error(tNFC_STATUS status, uint8_t sw1, uint8_t sw2) { in rw_t4t_handle_error()
1779 rw_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t4t_data_cback()
1783 rw_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t4t_data_cback()
1876 tNFC_STATUS RW_T4tFormatNDef(void) { in RW_T4tFormatNDef()
1906 tNFC_STATUS rw_t4t_select(void) { in rw_t4t_select()
1938 tNFC_STATUS RW_T4tDetectNDef(void) { in RW_T4tDetectNDef()
1983 tNFC_STATUS RW_T4tReadNDef(void) { in RW_T4tReadNDef()
2027 tNFC_STATUS RW_T4tUpdateNDef(uint16_t length, uint8_t* p_data) { in RW_T4tUpdateNDef()
2093 tNFC_STATUS RW_T4tPresenceCheck(uint8_t option) { in RW_T4tPresenceCheck()
[all …]
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc45 static tNFC_STATUS nfa_rw_start_ndef_read(void);
46 static tNFC_STATUS nfa_rw_start_ndef_write(void);
47 static tNFC_STATUS nfa_rw_start_ndef_detection(void);
48 static tNFC_STATUS nfa_rw_config_tag_ro(bool b_hard_lock);
387 void nfa_rw_handle_sleep_wakeup_rsp(tNFC_STATUS status) { in nfa_rw_handle_sleep_wakeup_rsp()
464 void nfa_rw_handle_presence_check_rsp(tNFC_STATUS status) { in nfa_rw_handle_presence_check_rsp()
1532 static tNFC_STATUS nfa_rw_start_ndef_detection(void) { in nfa_rw_start_ndef_detection()
1534 tNFC_STATUS status = NFC_STATUS_FAILED; in nfa_rw_start_ndef_detection()
1569 static tNFC_STATUS nfa_rw_start_ndef_read(void) { in nfa_rw_start_ndef_read()
1571 tNFC_STATUS status = NFC_STATUS_FAILED; in nfa_rw_start_ndef_read()
[all …]
/system/nfc/src/nfa/include/
Dnfa_rw_int.h333 extern void nfa_rw_handle_sleep_wakeup_rsp(tNFC_STATUS status);
334 extern void nfa_rw_handle_presence_check_rsp(tNFC_STATUS status);
Dnfa_ce_int.h209 tNFC_STATUS nfa_ce_set_content(void);
Dnfa_dta_int.h159 typedef tNFC_STATUS (*tNFA_DTA_CMD_FCN)(void*);

12