Loading...
Searching...
No Matches
iso14443_3b_poller.h
1#pragma once
2
3#include "iso14443_3b.h"
4#include <lib/nfc/nfc.h>
5
6#include <nfc/nfc_poller.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
16
20typedef enum {
21 Iso14443_3bPollerEventTypeError,
22 Iso14443_3bPollerEventTypeReady,
23} Iso14443_3bPollerEventType;
24
28typedef union {
29 Iso14443_3bError error;
31
37typedef struct {
38 Iso14443_3bPollerEventType type;
41
56Iso14443_3bError iso14443_3b_poller_send_frame(
57 Iso14443_3bPoller* instance,
58 const BitBuffer* tx_buffer,
59 BitBuffer* rx_buffer);
60
73Iso14443_3bError iso14443_3b_poller_activate(Iso14443_3bPoller* instance, Iso14443_3bData* data);
74
85Iso14443_3bError iso14443_3b_poller_halt(Iso14443_3bPoller* instance);
86
87#ifdef __cplusplus
88}
89#endif
Transport layer Nfc library.
NFC card reading library.
Definition bit_buffer.c:7
Definition iso14443_3b_i.h:33
Iso14443_3b poller event structure.
Definition iso14443_3b_poller.h:37
Iso14443_3bPollerEventType type
Type of emmitted event.
Definition iso14443_3b_poller.h:38
Iso14443_3bPollerEventData * data
Pointer to event specific data.
Definition iso14443_3b_poller.h:39
Definition iso14443_3b_poller_i.h:21
Iso14443_3b poller event data.
Definition iso14443_3b_poller.h:28
Iso14443_3bError error
Error code indicating card activation fail reason.
Definition iso14443_3b_poller.h:29