6 #include "mifare.h" // structs
8 // Old Ultralight/NTAG dump file format
9 // It is used only for converting
10 #define OLD_MFU_DUMP_PREFIX_LENGTH 48
18 uint8_t signature
[32];
21 } PACKED old_mfu_dump_t
;
23 uint32_t GetHF14AMfU_Type(void);
24 int ul_print_type(uint32_t tagtype
, uint8_t spaces
);
25 void printMFUdumpEx(mfu_dump_t
*card
, uint16_t pages
, uint8_t startpage
);
26 int ul_read_uid(uint8_t *uid
);
28 int CmdHFMFUltra(const char *Cmd
);
29 int CmdHF14MfuNDEFRead(const char *Cmd
);
31 uint16_t ul_ev1_packgen_VCNEW(uint8_t *uid
, uint32_t pwd
);
32 uint32_t ul_ev1_otpgenA(uint8_t *uid
);
34 typedef enum TAGTYPE_UL
{
50 MY_D_MOVE_NFC
= 0x4000,
51 MY_D_MOVE_LEAN
= 0x8000,
52 NTAG_I2C_1K
= 0x10000,
53 NTAG_I2C_2K
= 0x20000,
54 NTAG_I2C_1K_PLUS
= 0x40000,
55 NTAG_I2C_2K_PLUS
= 0x80000,
58 NTAG_213_F
= 0x400000,
59 NTAG_216_F
= 0x800000,
61 UL_NANO_40
= 0x2000000,
62 NTAG_213_TT
= 0x4000000,
63 NTAG_213_C
= 0x8000000,
64 MAGIC_1A
= 0x10000000 | MAGIC
,
65 MAGIC_1B
= 0x20000000 | MAGIC
,
66 MAGIC_NTAG
= 0x40000000 | MAGIC
,
67 NTAG_210u
= 0x80000000,
68 UL_MAGIC
= UL
| MAGIC
,
69 UL_C_MAGIC
= UL_C
| MAGIC
,