Mbed OS Reference
Loading...
Searching...
No Matches
ndef.h File Reference
#include "stack/nfc_common.h"

Go to the source code of this file.

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)
 Initialize NDEF tag abstraction. More...
 

Detailed Description

Author
Donatien Garnier

Definition in file ndef.h.