Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_ndef.c373 tNFA_NDEF_DATA ndef_data; in nfa_dm_ndef_handle_message() local
388ndef_data.ndef_type_handle = 0; /* No ndef-handler handle, since this callback is not from Reg… in nfa_dm_ndef_handle_message()
389 ndef_data.p_data = p_msg_buf; in nfa_dm_ndef_handle_message()
390 ndef_data.len = len; in nfa_dm_ndef_handle_message()
391 (*p_cb->p_excl_ndef_cback) (NFA_NDEF_DATA_EVT, (tNFA_NDEF_EVT_DATA *) &ndef_data); in nfa_dm_ndef_handle_message()
401 ndef_data.ndef_type_handle = p_handler->ndef_type_handle; in nfa_dm_ndef_handle_message()
402 ndef_data.p_data = NULL; /* Start of record */ in nfa_dm_ndef_handle_message()
403 ndef_data.len = 0; in nfa_dm_ndef_handle_message()
404 (*p_handler->p_ndef_cback) (NFA_NDEF_DATA_EVT, (tNFA_NDEF_EVT_DATA *) &ndef_data); in nfa_dm_ndef_handle_message()
462 ndef_data.ndef_type_handle = p_handler->ndef_type_handle; in nfa_dm_ndef_handle_message()
[all …]
/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c609 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_handle_read_rsp() local
652 ndef_data.protocol = NFC_PROTOCOL_T1T; in rw_t1t_handle_read_rsp()
653 ndef_data.flags = rw_t1t_get_ndef_flags (); in rw_t1t_handle_read_rsp()
654 ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_t1t_handle_read_rsp()
655 ndef_data.max_size = (UINT32) rw_t1t_get_ndef_max_size (); in rw_t1t_handle_read_rsp()
656 ndef_data.cur_size = p_t1t->ndef_msg_len; in rw_t1t_handle_read_rsp()
658 if (ndef_data.max_size < ndef_data.cur_size) in rw_t1t_handle_read_rsp()
660 ndef_data.flags |= RW_NDEF_FL_READ_ONLY; in rw_t1t_handle_read_rsp()
661 ndef_data.max_size = ndef_data.cur_size; in rw_t1t_handle_read_rsp()
664 if (!(ndef_data.flags & RW_NDEF_FL_READ_ONLY)) in rw_t1t_handle_read_rsp()
[all …]
Drw_t2t.c70 tRW_DETECT_NDEF_DATA ndef_data; in rw_t2t_proc_data() local
215 ndef_data.status = evt_data.status; in rw_t2t_proc_data()
216 ndef_data.protocol = NFC_PROTOCOL_T2T; in rw_t2t_proc_data()
217 ndef_data.flags = RW_NDEF_FL_UNKNOWN; in rw_t2t_proc_data()
219 ndef_data.flags = RW_NDEF_FL_FORMATED; in rw_t2t_proc_data()
220 ndef_data.max_size = 0; in rw_t2t_proc_data()
221 ndef_data.cur_size = 0; in rw_t2t_proc_data()
224 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &ndef_data); in rw_t2t_proc_data()
523 tRW_DETECT_NDEF_DATA ndef_data; in rw_t2t_process_error() local
582 ndef_data.status = evt_data.status; in rw_t2t_process_error()
[all …]
Drw_t1t.c585 tRW_DETECT_NDEF_DATA ndef_data; in rw_t1t_process_error() local
640 ndef_data.status = evt_data.status; in rw_t1t_process_error()
641 ndef_data.protocol = NFC_PROTOCOL_T1T; in rw_t1t_process_error()
642 ndef_data.flags = RW_NDEF_FL_UNKNOWN; in rw_t1t_process_error()
643 ndef_data.max_size = 0; in rw_t1t_process_error()
644 ndef_data.cur_size = 0; in rw_t1t_process_error()
645 (*rw_cb.p_cback) (rw_event, (tRW_DATA *) &ndef_data); in rw_t1t_process_error()
Drw_t2t_ndef.c261 tRW_DETECT_NDEF_DATA ndef_data = {0}; in rw_t2t_ntf_tlv_detect_complete() local
269 ndef_data.status = status; in rw_t2t_ntf_tlv_detect_complete()
270 ndef_data.protocol = NFC_PROTOCOL_T2T; in rw_t2t_ntf_tlv_detect_complete()
271 ndef_data.flags = rw_t2t_get_ndef_flags (); in rw_t2t_ntf_tlv_detect_complete()
272 ndef_data.cur_size = p_t2t->ndef_msg_len; in rw_t2t_ntf_tlv_detect_complete()
275 ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_t2t_ntf_tlv_detect_complete()
278 ndef_data.max_size = (UINT32) rw_t2t_get_ndef_max_size (); in rw_t2t_ntf_tlv_detect_complete()
280 ndef_data.max_size = ndef_data.cur_size; in rw_t2t_ntf_tlv_detect_complete()
282 if (ndef_data.max_size < ndef_data.cur_size) in rw_t2t_ntf_tlv_detect_complete()
284 ndef_data.flags |= RW_NDEF_FL_READ_ONLY; in rw_t2t_ntf_tlv_detect_complete()
[all …]
/external/libnfc-nci/src/nfa/include/
Dnfa_api.h651 tNFA_NDEF_DATA ndef_data; /* Structure for NFA_NDEF_DATA_EVT event data */ member