1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-13 13:29:50 +04:00
Files
flipperzero-firmware/lib/nfc/protocols/felica/felica_poller.h

31 lines
475 B
C
Raw Normal View History

#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