Searched refs:ndef_data (Results 1 – 7 of 7) sorted by relevance
371 tNFA_NDEF_DATA ndef_data; in nfa_dm_ndef_handle_message() local389 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 …]
583 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_handle_read_rsp() local621 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 …]
74 tRW_DETECT_NDEF_DATA ndef_data; in rw_t2t_proc_data() local200 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() local539 ndef_data.status = evt_data.status; in rw_t2t_process_error()[all …]
1136 tRW_DETECT_NDEF_DATA ndef_data = {}; in rw_mfc_ntf_tlv_detect_complete() local1141 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 …]
251 tRW_DETECT_NDEF_DATA ndef_data = {}; in rw_t2t_ntf_tlv_detect_complete() local252 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 …]
632 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_process_error() local633 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()
712 tNFA_NDEF_DATA ndef_data; member