Loading...
Searching...
No Matches
iso14443_4a_listener_i.h
1#pragma once
2
4
5#include "iso14443_4a_listener.h"
6#include "iso14443_4a_i.h"
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef enum {
13 Iso14443_4aListenerStateIdle,
14 Iso14443_4aListenerStateActive,
15} Iso14443_4aListenerState;
16
18 Iso14443_3aListener* iso14443_3a_listener;
19 Iso14443_4aData* data;
20 Iso14443_4aListenerState state;
21
22 BitBuffer* tx_buffer;
23
24 NfcGenericEvent generic_event;
25 Iso14443_4aListenerEvent iso14443_4a_event;
26 Iso14443_4aListenerEventData iso14443_4a_event_data;
27 NfcGenericCallback callback;
28 void* context;
29};
30
31Iso14443_4aError
32 iso14443_4a_listener_send_ats(Iso14443_4aListener* instance, const Iso14443_4aAtsData* data);
33
34#ifdef __cplusplus
35}
36#endif
Generic Nfc stack event definitions.
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Definition iso14443_3a_listener_i.h:15
Definition iso14443_4a.h:33
Definition iso14443_4a.h:42
Definition iso14443_4a_listener.h:19
Definition iso14443_4a_listener.h:23
Definition iso14443_4a_listener_i.h:17
Generic Nfc event type.
Definition nfc_generic_event.h:58