nfc_generators.h 331 B

1234567891011121314
  1. #pragma once
  2. #include "../nfc_device.h"
  3. typedef void (*NfcGeneratorFunc)(NfcDeviceData* data);
  4. typedef struct {
  5. const char* name;
  6. NfcGeneratorFunc generator_func;
  7. } NfcGenerator;
  8. extern const NfcGenerator* const nfc_generators[];
  9. void nfc_generate_mf_classic(NfcDeviceData* data, uint8_t uid_len, MfClassicType type);