nfc: On-device tag generator (#1319)
* nfc: Add tag generator base * nfc: Fix BCC generation * nfc: Add MFUL EV1 generators * nfc: Fix typos in generator * nfc: Add NTAG21x generators * nfc: More const * nfc: Add NTAG I2C generators * nfc: Add field names to generator initializers * nfc: Move generators to add manually scene * nfc: Revise tag generator UX * nfc: Revert add manually menu item name * nfc: Remove unused scene start submenu index Co-authored-by: あく <alleteam@gmail.com> Co-authored-by: gornekich <n.gorbadey@gmail.com>
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
#define NFC_SEND_NOTIFICATION_TRUE (1UL)
|
||||
#define NFC_TEXT_STORE_SIZE 128
|
||||
|
||||
// Forward declaration due to circular dependency
|
||||
typedef struct NfcGenerator NfcGenerator;
|
||||
|
||||
struct Nfc {
|
||||
NfcWorker* worker;
|
||||
ViewDispatcher* view_dispatcher;
|
||||
@@ -55,6 +58,8 @@ struct Nfc {
|
||||
Widget* widget;
|
||||
BankCard* bank_card;
|
||||
DictAttack* dict_attack;
|
||||
|
||||
const NfcGenerator* generator;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user