Searched refs:ndef_data (Results 1 – 7 of 7) sorted by relevance
377 tNFA_NDEF_DATA ndef_data; in nfa_dm_ndef_handle_message() local395 ndef_data.ndef_type_handle = 0; in nfa_dm_ndef_handle_message()396 ndef_data.p_data = p_msg_buf; in nfa_dm_ndef_handle_message()397 ndef_data.len = len; in nfa_dm_ndef_handle_message()399 nfa_ndef_evt_data.ndef_data = ndef_data; in nfa_dm_ndef_handle_message()410 ndef_data.ndef_type_handle = p_handler->ndef_type_handle; in nfa_dm_ndef_handle_message()411 ndef_data.p_data = nullptr; /* Start of record */ in nfa_dm_ndef_handle_message()412 ndef_data.len = 0; in nfa_dm_ndef_handle_message()414 nfa_ndef_evt_data.ndef_data = ndef_data; in nfa_dm_ndef_handle_message()478 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 …]
1133 tRW_DETECT_NDEF_DATA ndef_data = {}; in rw_mfc_ntf_tlv_detect_complete() local1138 ndef_data.status = NFC_STATUS_OK; // status; in rw_mfc_ntf_tlv_detect_complete()1139 ndef_data.protocol = NFC_PROTOCOL_MIFARE; in rw_mfc_ntf_tlv_detect_complete()1140 ndef_data.flags = 0; in rw_mfc_ntf_tlv_detect_complete()1141 ndef_data.cur_size = p_mfc->ndef_length; in rw_mfc_ntf_tlv_detect_complete()1144 ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_mfc_ntf_tlv_detect_complete()1150 ndef_data.max_size = 3356; in rw_mfc_ntf_tlv_detect_complete()1152 ndef_data.max_size = 716; in rw_mfc_ntf_tlv_detect_complete()1155 (*rw_cb.p_cback)(RW_MFC_NDEF_DETECT_EVT, (tRW_DATA*)&ndef_data); in rw_mfc_ntf_tlv_detect_complete()1339 tRW_DETECT_NDEF_DATA ndef_data; in rw_mfc_process_error() local[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()
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 …]
712 tNFA_NDEF_DATA ndef_data; member