Flipper Zero Firmware
Loading...
Searching...
No Matches
nfc_generic_event.h
Go to the documentation of this file.
1
17#pragma once
18
19#include "nfc_protocol.h"
20#include <nfc/nfc.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
36typedef void NfcGenericInstance;
37
45
64
75typedef NfcCommand (*NfcGenericCallback)(NfcGenericEvent event, void* context);
76
77#ifdef __cplusplus
78}
79#endif
Transport layer Nfc library.
NfcCommand
Enumeration of possible Nfc commands.
Definition nfc.h:71
void NfcGenericEventData
Generic Nfc event data type.
Definition nfc_generic_event.h:44
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
void NfcGenericInstance
Generic Nfc instance type.
Definition nfc_generic_event.h:36
Top-level NFC protocol definitions.
NfcProtocol
Enumeration of all available NFC protocols.
Definition nfc_protocol.h:178
Generic Nfc event type.
Definition nfc_generic_event.h:58
NfcGenericInstance * instance
Pointer to the protocol-specific instance that produced the event.
Definition nfc_generic_event.h:61
NfcProtocol protocol
Protocol identifier of the instance that produced the event.
Definition nfc_generic_event.h:59
NfcGenericEventData * event_data
Pointer to the protocol-specific event.
Definition nfc_generic_event.h:62