]>
Commit | Line | Data |
---|---|---|
81740aa5 | 1 | #include "cmdhfmf.h" |
2 | #include "cmdhf14a.h" | |
3 | ||
f168b263 | 4 | #ifndef CMDHFMFU_H__ |
5 | #define CMDHFMFU_H__ | |
6 | ||
81740aa5 | 7 | int CmdHF14AMfUWrBl(const char *Cmd); |
8 | int CmdHF14AMfURdBl(const char *Cmd); | |
9 | ||
10 | //Crypto Cards | |
81740aa5 | 11 | int CmdHF14AMfucAuth(const char *Cmd); |
12 | ||
a2e2bb8a | 13 | //general stuff |
14 | int CmdHF14AMfUDump(const char *Cmd); | |
15 | int CmdHF14AMfUInfo(const char *Cmd); | |
a2e2bb8a | 16 | |
79d7bcbb | 17 | uint32_t GetHF14AMfU_Type(void); |
c7442b76 | 18 | int ul_print_type(uint32_t tagtype, uint8_t spacer); |
86a1c1dc | 19 | #define ul_switch_off_field DropField |
92690507 | 20 | |
21 | int usage_hf_mfu_dump(void); | |
a2e2bb8a | 22 | int usage_hf_mfu_info(void); |
79d7bcbb | 23 | int usage_hf_mfu_rdbl(void); |
24 | int usage_hf_mfu_wrbl(void); | |
81740aa5 | 25 | |
26 | int CmdHFMFUltra(const char *Cmd); | |
8ceb6b03 | 27 | |
28 | typedef enum TAGTYPE_UL { | |
c7442b76 | 29 | UNKNOWN = 0x000000, |
30 | UL = 0x000001, | |
31 | UL_C = 0x000002, | |
32 | UL_EV1_48 = 0x000004, | |
33 | UL_EV1_128 = 0x000008, | |
34 | NTAG = 0x000010, | |
35 | NTAG_203 = 0x000020, | |
36 | NTAG_210 = 0x000040, | |
37 | NTAG_212 = 0x000080, | |
38 | NTAG_213 = 0x000100, | |
39 | NTAG_215 = 0x000200, | |
40 | NTAG_216 = 0x000400, | |
41 | MY_D = 0x000800, | |
42 | MY_D_NFC = 0x001000, | |
43 | MY_D_MOVE = 0x002000, | |
44 | MY_D_MOVE_NFC = 0x004000, | |
4a74e2be | 45 | MY_D_MOVE_LEAN= 0x008000, |
46 | NTAG_I2C_1K = 0x010000, | |
47 | NTAG_I2C_2K = 0x020000, | |
f4217d58 | 48 | FUDAN_UL = 0x040000, |
49 | MAGIC = 0x080000, | |
8ceb6b03 | 50 | UL_MAGIC = UL | MAGIC, |
51 | UL_C_MAGIC = UL_C | MAGIC, | |
c7442b76 | 52 | UL_ERROR = 0xFFFFFF, |
8ceb6b03 | 53 | } TagTypeUL_t; |
54 | ||
f168b263 | 55 | #endif |