unleashed-firmware/lib/nfc/protocols/iso14443_4a/iso14443_4a_poller.h
gornekich d92b0a82cc
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.
2023-10-24 12:08:09 +09:00

30 lines
539 B
C

#pragma once
#include <lib/nfc/protocols/iso14443_3a/iso14443_3a_poller.h>
#include "iso14443_4a.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Iso14443_4aPoller Iso14443_4aPoller;
typedef enum {
Iso14443_4aPollerEventTypeError,
Iso14443_4aPollerEventTypeReady,
} Iso14443_4aPollerEventType;
typedef struct {
Iso14443_4aError error;
} Iso14443_4aPollerEventData;
typedef struct {
Iso14443_4aPollerEventType type;
Iso14443_4aPollerEventData* data;
} Iso14443_4aPollerEvent;
#ifdef __cplusplus
}
#endif