mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 13:09:49 +04: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:
40
lib/nfc/helpers/nfc_data_generator.h
Normal file
40
lib/nfc/helpers/nfc_data_generator.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
|
||||
#include <nfc/nfc_device.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
NfcDataGeneratorTypeMfUltralight,
|
||||
NfcDataGeneratorTypeMfUltralightEV1_11,
|
||||
NfcDataGeneratorTypeMfUltralightEV1_H11,
|
||||
NfcDataGeneratorTypeMfUltralightEV1_21,
|
||||
NfcDataGeneratorTypeMfUltralightEV1_H21,
|
||||
NfcDataGeneratorTypeNTAG203,
|
||||
NfcDataGeneratorTypeNTAG213,
|
||||
NfcDataGeneratorTypeNTAG215,
|
||||
NfcDataGeneratorTypeNTAG216,
|
||||
NfcDataGeneratorTypeNTAGI2C1k,
|
||||
NfcDataGeneratorTypeNTAGI2C2k,
|
||||
NfcDataGeneratorTypeNTAGI2CPlus1k,
|
||||
NfcDataGeneratorTypeNTAGI2CPlus2k,
|
||||
|
||||
NfcDataGeneratorTypeMfClassicMini,
|
||||
NfcDataGeneratorTypeMfClassic1k_4b,
|
||||
NfcDataGeneratorTypeMfClassic1k_7b,
|
||||
NfcDataGeneratorTypeMfClassic4k_4b,
|
||||
NfcDataGeneratorTypeMfClassic4k_7b,
|
||||
|
||||
NfcDataGeneratorTypeNum,
|
||||
|
||||
} NfcDataGeneratorType;
|
||||
|
||||
const char* nfc_data_generator_get_name(NfcDataGeneratorType type);
|
||||
|
||||
void nfc_data_generator_fill_data(NfcDataGeneratorType type, NfcDevice* nfc_device);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user