#pragma once #include "iso14443_3a.h" #include #include #ifdef __cplusplus extern "C" { #endif typedef struct Iso14443_3aPoller Iso14443_3aPoller; typedef enum { Iso14443_3aPollerEventTypeError, Iso14443_3aPollerEventTypeReady, } Iso14443_3aPollerEventType; typedef struct { Iso14443_3aError error; } Iso14443_3aPollerEventData; typedef struct { Iso14443_3aPollerEventType type; Iso14443_3aPollerEventData* data; } Iso14443_3aPollerEvent; Iso14443_3aError iso14443_3a_poller_txrx( Iso14443_3aPoller* instance, const BitBuffer* tx_buffer, BitBuffer* rx_buffer, uint32_t fwt); Iso14443_3aError iso14443_3a_poller_send_standard_frame( Iso14443_3aPoller* instance, const BitBuffer* tx_buffer, BitBuffer* rx_buffer, uint32_t fwt); #ifdef __cplusplus } #endif