Loading...
Searching...
No Matches
iso14443_4b_poller_i.h
1#pragma once
2
3#include <nfc/protocols/iso14443_3b/iso14443_3b_poller_i.h>
4#include <nfc/helpers/iso14443_4_layer.h>
5
6#include "iso14443_4b_poller.h"
7#include "iso14443_4b_i.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef enum {
14 Iso14443_4bPollerStateIdle,
15 Iso14443_4bPollerStateError,
16 Iso14443_4bPollerStateReady,
17
18 Iso14443_4bPollerStateNum,
19} Iso14443_4bPollerState;
20
21typedef enum {
22 Iso14443_4bPollerSessionStateIdle,
23 Iso14443_4bPollerSessionStateActive,
24 Iso14443_4bPollerSessionStateStopRequest,
25} Iso14443_4bPollerSessionState;
26
28 Iso14443_3bPoller* iso14443_3b_poller;
29 Iso14443_4bPollerState poller_state;
30 Iso14443_4bPollerSessionState session_state;
31 Iso14443_4bError error;
32 Iso14443_4bData* data;
33 Iso14443_4Layer* iso14443_4_layer;
34 BitBuffer* tx_buffer;
35 BitBuffer* rx_buffer;
36 Iso14443_4bPollerEventData iso14443_4b_event_data;
37 Iso14443_4bPollerEvent iso14443_4b_event;
38 NfcGenericEvent general_event;
39 NfcGenericCallback callback;
40 void* context;
41};
42
43const Iso14443_4bData* iso14443_4b_poller_get_data(Iso14443_4bPoller* instance);
44
45#ifdef __cplusplus
46}
47#endif
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Definition iso14443_3b_poller_i.h:21
Definition iso14443_4_layer.c:42
Definition iso14443_4b_i.h:5
Iso14443_4b poller event structure.
Definition iso14443_4b_poller.h:36
Definition iso14443_4b_poller_i.h:27
Generic Nfc event type.
Definition nfc_generic_event.h:58
Iso14443_4b poller event data.
Definition iso14443_4b_poller.h:27