Loading...
Searching...
No Matches
NfcListenerBase Struct Reference

Generic NFC listener interface. More...

#include <nfc_listener_base.h>

Data Fields

NfcListenerAlloc alloc
 Pointer to the alloc() function.
 
NfcListenerFree free
 Pointer to the free() function.
 
NfcListenerSetCallback set_callback
 Pointer to the set_callback() function.
 
NfcListenerRun run
 Pointer to the run() function.
 
NfcListenerGetData get_data
 Pointer to the get_data() function.
 

Detailed Description

Generic NFC listener interface.

Each protocol must fill this structure with its own function implementations. See above for the function signatures and descriptions.

Additionally, see ${PROTOCOL_NAME}/${PROTOCOL_NAME}_listener.c for usage examples.


The documentation for this struct was generated from the following file: