Home
last modified time | relevance | path

Searched refs:tnf (Results 1 – 8 of 8) sorted by relevance

/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_ndef.c142 if (p_reg_info->tnf == NFA_TNF_DEFAULT) in nfa_dm_ndef_reg_hdlr()
237 UINT8 tnf, in nfa_dm_ndef_find_next_handler() argument
261 &&(p_cb->p_ndef_handler[i]->tnf == tnf) ) in nfa_dm_ndef_find_next_handler()
371 UINT8 tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local
431 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); in nfa_dm_ndef_handle_message()
440 …if ((p_handler = nfa_dm_ndef_find_next_handler (NULL, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
455 …p_handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
519 …p_handler = nfa_dm_ndef_find_next_handler (p_handler, tnf, p_type, type_len, p_payload, payload_le… in nfa_dm_ndef_handle_message()
Dnfa_dm_api.c919 tNFA_TNF tnf, in NFA_RegisterNDefTypeHandler() argument
926 …RegisterNDefTypeHandler (): handle whole ndef message: %i, tnf=0x%02x", handle_whole_message, tnf); in NFA_RegisterNDefTypeHandler()
941 p_msg->tnf = tnf; in NFA_RegisterNDefTypeHandler()
1010 p_msg->tnf = NFA_TNF_WKT; in NFA_RegisterNDefUriHandler()
/external/libnfc-nxp/src/
DphFriNfc_NdefRecord.c715 uint8_t tnf = 0; in phFriNfc_NdefRecord_TypeNameFormat() local
720 tnf = PH_FRINFC_NDEFRECORD_TNF_EMPTY; in phFriNfc_NdefRecord_TypeNameFormat()
724 tnf = PH_FRINFC_NDEFRECORD_TNF_NFCWELLKNOWN; in phFriNfc_NdefRecord_TypeNameFormat()
728 tnf = PH_FRINFC_NDEFRECORD_TNF_MEDIATYPE; in phFriNfc_NdefRecord_TypeNameFormat()
732 tnf = PH_FRINFC_NDEFRECORD_TNF_ABSURI; in phFriNfc_NdefRecord_TypeNameFormat()
736 tnf = PH_FRINFC_NDEFRECORD_TNF_NFCEXT; in phFriNfc_NdefRecord_TypeNameFormat()
740 tnf = PH_FRINFC_NDEFRECORD_TNF_UNKNOWN; in phFriNfc_NdefRecord_TypeNameFormat()
744 tnf = PH_FRINFC_NDEFRECORD_TNF_UNCHANGED; in phFriNfc_NdefRecord_TypeNameFormat()
748 tnf = PH_FRINFC_NDEFRECORD_TNF_RESERVED; in phFriNfc_NdefRecord_TypeNameFormat()
751 tnf = 0xFF; in phFriNfc_NdefRecord_TypeNameFormat()
[all …]
/external/libnfc-nci/src/nfc/ndef/
Dndef_utils.c463 UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UINT8 tlen) in NDEF_MsgGetFirstRecByType() argument
493 if ( ((rec_hdr & NDEF_TNF_MASK) == tnf) in NDEF_MsgGetFirstRecByType()
520 UINT8 *NDEF_MsgGetNextRecByType (UINT8 *p_cur_rec, UINT8 tnf, UINT8 *p_type, UINT8 tlen) in NDEF_MsgGetNextRecByType() argument
554 if ( ((rec_hdr & NDEF_TNF_MASK) == tnf) in NDEF_MsgGetNextRecByType()
837 UINT8 tnf, UINT8 *p_type, UINT8 type_len, in NDEF_MsgAddRec() argument
846 if (tnf > NDEF_TNF_RESERVED) in NDEF_MsgAddRec()
848 tnf = NDEF_TNF_UNKNOWN; in NDEF_MsgAddRec()
860 *p_rec = tnf | NDEF_MB_MASK | NDEF_ME_MASK; in NDEF_MsgAddRec()
870 *p_rec = tnf | NDEF_ME_MASK; in NDEF_MsgAddRec()
933 UINT8 tnf, UINT8 *p_type, UINT8 type_len, in NDEF_MsgInsertRec() argument
[all …]
Dndef_cho_utils.c568 UINT8 id_len, tnf, type_len; in ndef_get_bt_oob_record() local
577 p_type = NDEF_RecGetType (p_rec, &tnf, &type_len); in ndef_get_bt_oob_record()
581 ||(tnf != NDEF_TNF_MEDIA) in ndef_get_bt_oob_record()
/external/libnfc-nci/src/nfc/include/
Dndef_utils.h173 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UI…
185 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetNextRecByType (UINT8 *p_cur_rec, UINT8 tnf, UINT8 *p_type,…
270 UINT8 tnf, UINT8 *p_type, UINT8 type_len,
286 UINT8 tnf, UINT8 *p_type, UINT8 type_len,
/external/libnfc-nci/src/nfa/int/
Dnfa_dm_int.h168 …tNFA_TNF tnf; /* Type-name field of record-type that was registered. … member
/external/libnfc-nci/src/nfa/include/
Dnfa_api.h1133 tNFA_TNF tnf,