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>
15 lines
331 B
C
15 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);
|