mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 05:06:30 +04:00
31 lines
475 B
C
31 lines
475 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "felica.h"
|
||
|
|
#include <lib/nfc/nfc.h>
|
||
|
|
|
||
|
|
#include <nfc/nfc_poller.h>
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
typedef struct FelicaPoller FelicaPoller;
|
||
|
|
|
||
|
|
typedef enum {
|
||
|
|
FelicaPollerEventTypeError,
|
||
|
|
FelicaPollerEventTypeReady,
|
||
|
|
} FelicaPollerEventType;
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
FelicaError error;
|
||
|
|
} FelicaPollerEventData;
|
||
|
|
|
||
|
|
typedef struct {
|
||
|
|
FelicaPollerEventType type;
|
||
|
|
FelicaPollerEventData* data;
|
||
|
|
} FelicaPollerEvent;
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|