Common top-level types for the NFC protocol stack.
void NfcDeviceData
Generic opaque type for protocol-specific NFC device data.
Definition nfc_device_base.h:22
Generic Nfc stack event definitions.
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
void nfc_listener_stop(NfcListener *instance)
Stop an NfcListener instance.
Definition nfc_listener.c:126
void nfc_listener_start(NfcListener *instance, NfcGenericCallback callback, void *context)
Start an NfcListener instance.
Definition nfc_listener.c:118
NfcListener * nfc_listener_alloc(Nfc *nfc, NfcProtocol protocol, const NfcDeviceData *data)
Allocate an NfcListener instance.
Definition nfc_listener.c:75
const NfcDeviceData * nfc_listener_get_data(const NfcListener *instance, NfcProtocol protocol)
Get the data that was that was provided for emulation.
Definition nfc_listener.c:138
NfcProtocol nfc_listener_get_protocol(const NfcListener *instance)
Get the protocol identifier an NfcListener instance was created with.
Definition nfc_listener.c:132
void nfc_listener_free(NfcListener *instance)
Delete an NfcListener instance.
Definition nfc_listener.c:91
NfcProtocol
Enumeration of all available NFC protocols.
Definition nfc_protocol.h:178
Definition nfc_listener.c:20