mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-24 05:34:45 -07:00
ofw pr 4293 NFC FeliCa Improvement: Dump All Systems
by zinongli
This commit is contained in:
@@ -17,6 +17,8 @@ extern "C" {
|
||||
typedef enum {
|
||||
FelicaPollerStateIdle,
|
||||
FelicaPollerStateActivated,
|
||||
FelicaPollerStateListSystem,
|
||||
FelicaPollerStateSelectSystemIndex,
|
||||
FelicaPollerStateAuthenticateInternal,
|
||||
FelicaPollerStateAuthenticateExternal,
|
||||
FelicaPollerStateTraverseStandardSystem,
|
||||
@@ -42,6 +44,8 @@ struct FelicaPoller {
|
||||
FelicaPollerEventData felica_event_data;
|
||||
NfcGenericCallback callback;
|
||||
uint8_t block_index;
|
||||
uint8_t systems_read;
|
||||
uint8_t systems_total;
|
||||
void* context;
|
||||
};
|
||||
|
||||
@@ -116,6 +120,10 @@ FelicaError felica_poller_list_service_by_cursor(
|
||||
uint16_t cursor,
|
||||
FelicaListServiceCommandResponse** response_ptr);
|
||||
|
||||
FelicaError felica_poller_list_system_code(
|
||||
FelicaPoller* instance,
|
||||
FelicaListSystemCodeCommandResponse** response_ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user