Mistake on this page?
Report an issue in GitHub or email us
Data Structures
NDEF

Data Structures

struct  __ndef_msg
 

Generic NDEF Tag

typedef struct __ndef_msg ndef_msg_t
 
typedef nfc_err_t(* ndef_encode_fn_t) (ndef_msg_t *pTag, ac_buffer_builder_t *pBufferBldr, void *pUserData)
 Function called to generate the tag's content on read (target mode) More...
 
typedef nfc_err_t(* ndef_decode_fn_t) (ndef_msg_t *pTag, ac_buffer_t *pBuffer, void *pUserData)
 Function called to decode the tag's content on write (target mode) or read (reader mode) More...
 
void ndef_msg_init (ndef_msg_t *pNdef, ndef_encode_fn_t encode, ndef_decode_fn_t decode, uint8_t *data, size_t size, void *pUserData)
 
static nfc_err_t ndef_msg_encode (ndef_msg_t *pNdef)
 
static nfc_err_t ndef_msg_decode (ndef_msg_t *pNdef)
 
static ac_buffer_builder_tndef_msg_buffer_builder (ndef_msg_t *pNdef)
 

Detailed Description

Typedef Documentation

typedef nfc_err_t(* ndef_decode_fn_t) (ndef_msg_t *pTag, ac_buffer_t *pBuffer, void *pUserData)

Function called to decode the tag's content on write (target mode) or read (reader mode)

Parameters
pTagpointer to ndef_tag_t instance
typepMem buffer containing the tag's content

Definition at line 51 of file ndef.h.

typedef nfc_err_t(* ndef_encode_fn_t) (ndef_msg_t *pTag, ac_buffer_builder_t *pBufferBldr, void *pUserData)

Function called to generate the tag's content on read (target mode)

Parameters
pTagpointer to ndef_tag_t instance
typepMem buffer in which to store the generated content

Definition at line 45 of file ndef.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.