3#include "felica_poller.h"
10#define FELICA_POLLER_MAX_BUFFER_SIZE (256U)
12#define FELICA_POLLER_POLLING_FWT (200000U)
14#define FELICA_POLLER_CMD_POLLING_REQ_CODE (0x00U)
15#define FELICA_POLLER_CMD_POLLING_RESP_CODE (0x01U)
18 FelicaPollerStateIdle,
19 FelicaPollerStateActivated,
20 FelicaPollerStateListSystem,
21 FelicaPollerStateSelectSystemIndex,
22 FelicaPollerStateAuthenticateInternal,
23 FelicaPollerStateAuthenticateExternal,
24 FelicaPollerStateTraverseStandardSystem,
25 FelicaPollerStateReadStandardBlocks,
26 FelicaPollerStateReadLiteBlocks,
27 FelicaPollerStateReadSuccess,
28 FelicaPollerStateReadFailed,
35 FelicaPollerState state;
48 uint8_t systems_total;
61 uint8_t request_data[2];
78FelicaError felica_poller_polling(
93FelicaError felica_poller_write_blocks(
95 const uint8_t block_count,
96 const uint8_t*
const block_numbers,
112FelicaError felica_poller_frame_exchange(
118FelicaError felica_poller_list_service_by_cursor(
123FelicaError felica_poller_list_system_code(
NfcCommand(* NfcGenericCallback)(NfcGenericEvent event, void *context)
Generic Nfc event callback type.
Definition nfc_generic_event.h:75
Definition bit_buffer.c:7
Structure used to hold authentication related fields.
Definition felica.h:121
Structure used to store Felica data and additional values about reading.
Definition felica.h:196
Felica ID block.
Definition felica.h:128
Felica PMm block.
Definition felica.h:133
FelicaPoller poller event structure.
Definition felica_poller.h:40
Definition felica_poller_i.h:33
Definition felica_poller_i.h:52
Definition felica_poller_i.h:58
Generic Nfc event type.
Definition nfc_generic_event.h:58
Definition felica_poller_i.h:64
Felica poller event data.
Definition felica_poller.h:30