Loading...
Searching...
No Matches
iso14443_3b_poller_i.h
1#pragma once
2
3#include "iso14443_3b_poller.h"
4#include "iso14443_3b_i.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#define ISO14443_3B_POLLER_MAX_BUFFER_SIZE (256U)
11
12typedef enum {
13 Iso14443_3bPollerStateIdle,
14 Iso14443_3bPollerStateColResInProgress,
15 Iso14443_3bPollerStateColResFailed,
16 Iso14443_3bPollerStateActivationInProgress,
17 Iso14443_3bPollerStateActivationFailed,
18 Iso14443_3bPollerStateActivated,
19} Iso14443_3bPollerState;
20
22 Nfc* nfc;
23 Iso14443_3bPollerState state;
24 Iso14443_3bData* data;
25 BitBuffer* tx_buffer;
26 BitBuffer* rx_buffer;
27
28 NfcGenericEvent general_event;
29 Iso14443_3bPollerEvent iso14443_3b_event;
30 Iso14443_3bPollerEventData iso14443_3b_event_data;
31 NfcGenericCallback callback;
32 void* context;
33};
34
35const Iso14443_3bData* iso14443_3b_poller_get_data(Iso14443_3bPoller* instance);
36
37#ifdef __cplusplus
38}
39#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_i.h:33
Iso14443_3b poller event structure.
Definition iso14443_3b_poller.h:37
Definition iso14443_3b_poller_i.h:21
Generic Nfc event type.
Definition nfc_generic_event.h:58
Definition nfc.c:41
Iso14443_3b poller event data.
Definition iso14443_3b_poller.h:28