mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
NFC refactoring (#3050)
"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.
This commit is contained in:
30
lib/nfc/protocols/iso14443_3b/iso14443_3b_poller.h
Normal file
30
lib/nfc/protocols/iso14443_3b/iso14443_3b_poller.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "iso14443_3b.h"
|
||||
#include <lib/nfc/nfc.h>
|
||||
|
||||
#include <nfc/nfc_poller.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct Iso14443_3bPoller Iso14443_3bPoller;
|
||||
|
||||
typedef enum {
|
||||
Iso14443_3bPollerEventTypeError,
|
||||
Iso14443_3bPollerEventTypeReady,
|
||||
} Iso14443_3bPollerEventType;
|
||||
|
||||
typedef struct {
|
||||
Iso14443_3bError error;
|
||||
} Iso14443_3bPollerEventData;
|
||||
|
||||
typedef struct {
|
||||
Iso14443_3bPollerEventType type;
|
||||
Iso14443_3bPollerEventData* data;
|
||||
} Iso14443_3bPollerEvent;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user