3#include "iso14443_3a_poller.h"
11#define ISO14443_3A_POLLER_MAX_BUFFER_SIZE (512U)
13#define ISO14443_3A_POLLER_SEL_CMD(cascade_lvl) (0x93 + 2 * (cascade_lvl))
14#define ISO14443_3A_POLLER_SEL_PAR(bytes, bits) (((bytes) << 4 & 0xf0U) | ((bits) & 0x0fU))
15#define ISO14443_3A_POLLER_SDD_CL (0x88U)
18 Iso14443_3aPollerColResStateStateIdle,
19 Iso14443_3aPollerColResStateStateNewCascade,
20 Iso14443_3aPollerColResStateStateSelectCascade,
21 Iso14443_3aPollerColResStateStateSuccess,
22 Iso14443_3aPollerColResStateStateFail,
23} Iso14443_3aPollerColResState;
26 Iso14443_3aPollerColResState state;
32 uint8_t cascade_level;
36 Iso14443_3aPollerStateIdle,
37 Iso14443_3aPollerStateColResInProgress,
38 Iso14443_3aPollerStateColResFailed,
39 Iso14443_3aPollerStateActivated,
40} Iso14443_3aPollerState;
44 Iso14443_3aPollerState state;
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Definition iso14443_3a.h:58
Definition iso14443_3a_poller_i.h:25
Iso14443_3a poller event structure.
Definition iso14443_3a_poller.h:37
Definition iso14443_3a_poller_i.h:42
Definition iso14443_3a.h:36
Definition iso14443_3a.h:42
Definition iso14443_3a.h:47
Definition iso14443_3a.h:54
Definition iso14443_3a.h:32
Generic Nfc event type.
Definition nfc_generic_event.h:58
Iso14443_3a poller event data.
Definition iso14443_3a_poller.h:28