Loading...
Searching...
No Matches
iso14443_4b_poller.h
1#pragma once
2
3#include <lib/nfc/protocols/iso14443_3b/iso14443_3b_poller.h>
4
5#include "iso14443_4b.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
15
19typedef enum {
20 Iso14443_4bPollerEventTypeError,
21 Iso14443_4bPollerEventTypeReady,
22} Iso14443_4bPollerEventType;
23
27typedef union {
28 Iso14443_4bError error;
30
36typedef struct {
37 Iso14443_4bPollerEventType type;
40
54Iso14443_4bError iso14443_4b_poller_send_block(
55 Iso14443_4bPoller* instance,
56 const BitBuffer* tx_buffer,
57 BitBuffer* rx_buffer);
58
69Iso14443_4bError iso14443_4b_poller_halt(Iso14443_4bPoller* instance);
70
71#ifdef __cplusplus
72}
73#endif
Definition bit_buffer.c:7
Iso14443_4b poller event structure.
Definition iso14443_4b_poller.h:36
Iso14443_4bPollerEventType type
Type of emmitted event.
Definition iso14443_4b_poller.h:37
Iso14443_4bPollerEventData * data
Pointer to event specific data.
Definition iso14443_4b_poller.h:38
Definition iso14443_4b_poller_i.h:27
Iso14443_4b poller event data.
Definition iso14443_4b_poller.h:27
Iso14443_4bError error
Error code indicating card activation fail reason.
Definition iso14443_4b_poller.h:28