mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-30 06:33:07 +00:00
7fb1af07b8
* Untangle NFC from Unit Tests * nfc tests: add log error Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
14 lines
331 B
C
14 lines
331 B
C
#pragma once
|
|
|
|
#include "../nfc_device.h"
|
|
|
|
typedef void (*NfcGeneratorFunc)(NfcDeviceData* data);
|
|
|
|
typedef struct {
|
|
const char* name;
|
|
NfcGeneratorFunc generator_func;
|
|
} NfcGenerator;
|
|
|
|
extern const NfcGenerator* const nfc_generators[];
|
|
|
|
void nfc_generate_mf_classic(NfcDeviceData* data, uint8_t uid_len, MfClassicType type);
|