mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-20 11:51:48 +03:00
d92b0a82cc
"A long time ago in a galaxy far, far away...." we started NFC subsystem refactoring. Starring: - @gornekich - NFC refactoring project lead, architect, senior developer - @gsurkov - architect, senior developer - @RebornedBrain - senior developer Supporting roles: - @skotopes, @DrZlo13, @hedger - general architecture advisors, code review - @Astrrra, @doomwastaken, @Hellitron, @ImagineVagon333 - quality assurance Special thanks: @bettse, @pcunning, @nxv, @noproto, @AloneLiberty and everyone else who has been helping us all this time and contributing valuable knowledges, ideas and source code.
30 lines
428 B
C
30 lines
428 B
C
#pragma once
|
|
|
|
#include "slix.h"
|
|
|
|
#include <nfc/nfc_poller.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct SlixPoller SlixPoller;
|
|
|
|
typedef enum {
|
|
SlixPollerEventTypeError,
|
|
SlixPollerEventTypeReady,
|
|
} SlixPollerEventType;
|
|
|
|
typedef struct {
|
|
SlixError error;
|
|
} SlixPollerEventData;
|
|
|
|
typedef struct {
|
|
SlixPollerEventType type;
|
|
SlixPollerEventData* data;
|
|
} SlixPollerEvent;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|