Home
last modified time | relevance | path

Searched refs:ndef_data (Results 1 – 7 of 7) sorted by relevance

/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc371 tNFA_NDEF_DATA ndef_data; in nfa_dm_ndef_handle_message() local
389 ndef_data.ndef_type_handle = 0; in nfa_dm_ndef_handle_message()
390 ndef_data.p_data = p_msg_buf; in nfa_dm_ndef_handle_message()
391 ndef_data.len = len; in nfa_dm_ndef_handle_message()
393 nfa_ndef_evt_data.ndef_data = ndef_data; in nfa_dm_ndef_handle_message()
404 ndef_data.ndef_type_handle = p_handler->ndef_type_handle; in nfa_dm_ndef_handle_message()
405 ndef_data.p_data = nullptr; /* Start of record */ in nfa_dm_ndef_handle_message()
406 ndef_data.len = 0; in nfa_dm_ndef_handle_message()
408 nfa_ndef_evt_data.ndef_data = ndef_data; in nfa_dm_ndef_handle_message()
472 ndef_data.ndef_type_handle = p_handler->ndef_type_handle; in nfa_dm_ndef_handle_message()
[all …]
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc583 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_handle_read_rsp() local
621 ndef_data.protocol = NFC_PROTOCOL_T1T; in rw_t1t_handle_read_rsp()
622 ndef_data.flags = rw_t1t_get_ndef_flags(); in rw_t1t_handle_read_rsp()
623 ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_t1t_handle_read_rsp()
624 ndef_data.max_size = (uint32_t)rw_t1t_get_ndef_max_size(); in rw_t1t_handle_read_rsp()
625 ndef_data.cur_size = p_t1t->ndef_msg_len; in rw_t1t_handle_read_rsp()
627 if (ndef_data.max_size < ndef_data.cur_size) { in rw_t1t_handle_read_rsp()
628 ndef_data.flags |= RW_NDEF_FL_READ_ONLY; in rw_t1t_handle_read_rsp()
629 ndef_data.max_size = ndef_data.cur_size; in rw_t1t_handle_read_rsp()
632 if (!(ndef_data.flags & RW_NDEF_FL_READ_ONLY)) { in rw_t1t_handle_read_rsp()
[all …]
Drw_t2t.cc74 tRW_DETECT_NDEF_DATA ndef_data; in rw_t2t_proc_data() local
200 ndef_data.status = evt_data.status; in rw_t2t_proc_data()
201 ndef_data.protocol = NFC_PROTOCOL_T2T; in rw_t2t_proc_data()
202 ndef_data.flags = RW_NDEF_FL_UNKNOWN; in rw_t2t_proc_data()
204 ndef_data.flags = RW_NDEF_FL_FORMATED; in rw_t2t_proc_data()
205 ndef_data.max_size = 0; in rw_t2t_proc_data()
206 ndef_data.cur_size = 0; in rw_t2t_proc_data()
210 rw_data.ndef = ndef_data; in rw_t2t_proc_data()
486 tRW_DETECT_NDEF_DATA ndef_data; in rw_t2t_process_error() local
539 ndef_data.status = evt_data.status; in rw_t2t_process_error()
[all …]
Drw_mfc.cc1136 tRW_DETECT_NDEF_DATA ndef_data = {}; in rw_mfc_ntf_tlv_detect_complete() local
1141 ndef_data.status = NFC_STATUS_OK; // status; in rw_mfc_ntf_tlv_detect_complete()
1142 ndef_data.protocol = NFC_PROTOCOL_MIFARE; in rw_mfc_ntf_tlv_detect_complete()
1143 ndef_data.flags = 0; in rw_mfc_ntf_tlv_detect_complete()
1144 ndef_data.cur_size = p_mfc->ndef_length; in rw_mfc_ntf_tlv_detect_complete()
1147 ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_mfc_ntf_tlv_detect_complete()
1153 ndef_data.max_size = 3356; in rw_mfc_ntf_tlv_detect_complete()
1155 ndef_data.max_size = 716; in rw_mfc_ntf_tlv_detect_complete()
1158 (*rw_cb.p_cback)(RW_MFC_NDEF_DETECT_EVT, (tRW_DATA*)&ndef_data); in rw_mfc_ntf_tlv_detect_complete()
1342 tRW_DETECT_NDEF_DATA ndef_data; in rw_mfc_process_error() local
[all …]
Drw_t2t_ndef.cc251 tRW_DETECT_NDEF_DATA ndef_data = {}; in rw_t2t_ntf_tlv_detect_complete() local
252 ndef_data.status = status; in rw_t2t_ntf_tlv_detect_complete()
253 ndef_data.protocol = NFC_PROTOCOL_T2T; in rw_t2t_ntf_tlv_detect_complete()
254 ndef_data.flags = rw_t2t_get_ndef_flags(); in rw_t2t_ntf_tlv_detect_complete()
255 ndef_data.cur_size = p_t2t->ndef_msg_len; in rw_t2t_ntf_tlv_detect_complete()
257 if (status == NFC_STATUS_OK) ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_t2t_ntf_tlv_detect_complete()
260 ndef_data.max_size = (uint32_t)rw_t2t_get_ndef_max_size(); in rw_t2t_ntf_tlv_detect_complete()
262 ndef_data.max_size = ndef_data.cur_size; in rw_t2t_ntf_tlv_detect_complete()
264 if (ndef_data.max_size < ndef_data.cur_size) { in rw_t2t_ntf_tlv_detect_complete()
265 ndef_data.flags |= RW_NDEF_FL_READ_ONLY; in rw_t2t_ntf_tlv_detect_complete()
[all …]
Drw_t1t.cc632 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_process_error() local
633 ndef_data.status = NFC_STATUS_TIMEOUT; in rw_t1t_process_error()
634 ndef_data.protocol = NFC_PROTOCOL_T1T; in rw_t1t_process_error()
635 ndef_data.flags = RW_NDEF_FL_UNKNOWN; in rw_t1t_process_error()
636 ndef_data.max_size = 0; in rw_t1t_process_error()
637 ndef_data.cur_size = 0; in rw_t1t_process_error()
639 rw_data.ndef = ndef_data; in rw_t1t_process_error()
/system/nfc/src/nfa/include/
Dnfa_api.h712 tNFA_NDEF_DATA ndef_data; member