Loading...
Searching...
No Matches
NfcGenericEvent Struct Reference

Generic Nfc event type. More...

#include <nfc_generic_event.h>

Data Fields

NfcProtocol protocol
 Protocol identifier of the instance that produced the event.
 
NfcGenericInstanceinstance
 Pointer to the protocol-specific instance that produced the event.
 
NfcGenericEventDataevent_data
 Pointer to the protocol-specific event.
 

Detailed Description

Generic Nfc event type.

A generic Nfc event contains a protocol identifier, can be used to determine the remaing fields' type.

If the value of the protocol field is NfcProtocolInvalid, then it means that the event was emitted from an Nfc instance, otherwise it originated from a concrete poller or listener instance.

The event_data field is protocol-specific and should be cast to the appropriate type before use.


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