Loading...
Searching...
No Matches
iso15693_3_poller_i.h
1#pragma once
2
3#include "iso15693_3_poller.h"
4
5#include "iso15693_3_i.h"
6
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define ISO15693_3_POLLER_MAX_BUFFER_SIZE (64U)
14
15typedef enum {
16 Iso15693_3PollerStateIdle,
17 Iso15693_3PollerStateColResInProgress,
18 Iso15693_3PollerStateColResFailed,
19 Iso15693_3PollerStateActivated,
20} Iso15693_3PollerState;
21
23 Nfc* nfc;
24 Iso15693_3PollerState state;
25 Iso15693_3Data* data;
26 BitBuffer* tx_buffer;
27 BitBuffer* rx_buffer;
28
29 NfcGenericEvent general_event;
30 Iso15693_3PollerEvent iso15693_3_event;
31 Iso15693_3PollerEventData iso15693_3_event_data;
32 NfcGenericCallback callback;
33 void* context;
34};
35
36const Iso15693_3Data* iso15693_3_poller_get_data(Iso15693_3Poller* instance);
37
38#ifdef __cplusplus
39}
40#endif
Bit Buffer.
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Definition iso15693_3.h:117
Iso15693_3 poller event structure.
Definition iso15693_3_poller.h:36
Definition iso15693_3_poller_i.h:22
Generic Nfc event type.
Definition nfc_generic_event.h:58
Definition nfc.c:41
Iso15693_3 poller event data.
Definition iso15693_3_poller.h:27