Flipper Zero Firmware
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.
 Pointer to the protocol-specific instance that produced the event.
 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: