]>
Commit | Line | Data |
---|---|---|
f38a1528 | 1 | #include "cmdhfmf.h" |
99a71418 | 2 | #include "cmdhf14a.h" |
e3ab50ca | 3 | |
0ec548dc | 4 | #ifndef CMDHFMFU_H__ |
5 | #define CMDHFMFU_H__ | |
6 | ||
f38a1528 | 7 | int CmdHF14AMfUWrBl(const char *Cmd); |
8 | int CmdHF14AMfURdBl(const char *Cmd); | |
99a71418 | 9 | |
f38a1528 | 10 | //Crypto Cards |
f38a1528 | 11 | int CmdHF14AMfucAuth(const char *Cmd); |
f38a1528 | 12 | |
13 | //general stuff | |
99a71418 | 14 | int CmdHF14AMfUDump(const char *Cmd); |
e7e95088 | 15 | int CmdHF14AMfUInfo(const char *Cmd); |
1ec21089 | 16 | |
24344f28 | 17 | int CmdHF14AMfuELoad(const char *Cmd); |
18 | ||
fff69a1e | 19 | uint32_t GetHF14AMfU_Type(void); |
1fa96198 | 20 | int ul_print_type(uint32_t tagtype, uint8_t spacer); |
98cdd568 | 21 | void ul_switch_off_field(void); |
22 | ||
1c1c5f4c | 23 | int usage_hf_mfu_dump(void); |
e7e95088 | 24 | int usage_hf_mfu_info(void); |
fff69a1e | 25 | int usage_hf_mfu_rdbl(void); |
26 | int usage_hf_mfu_wrbl(void); | |
24344f28 | 27 | int usage_hf_mfu_eload(void); |
a8be77af | 28 | |
f38a1528 | 29 | int CmdHFMFUltra(const char *Cmd); |
98cdd568 | 30 | |
9984b173 | 31 | uint32_t ul_ev1_pwdgenA(uint8_t* uid); |
32 | ||
98cdd568 | 33 | typedef enum TAGTYPE_UL { |
05f7accd | 34 | UNKNOWN = 0x000000, |
35 | UL = 0x000001, | |
36 | UL_C = 0x000002, | |
37 | UL_EV1_48 = 0x000004, | |
38 | UL_EV1_128 = 0x000008, | |
39 | NTAG = 0x000010, | |
c7442b76 | 40 | NTAG_203 = 0x000020, |
41 | NTAG_210 = 0x000040, | |
42 | NTAG_212 = 0x000080, | |
05f7accd | 43 | NTAG_213 = 0x000100, |
44 | NTAG_215 = 0x000200, | |
45 | NTAG_216 = 0x000400, | |
46 | MY_D = 0x000800, | |
47 | MY_D_NFC = 0x001000, | |
48 | MY_D_MOVE = 0x002000, | |
49 | MY_D_MOVE_NFC = 0x004000, | |
1c6e7f03 | 50 | MY_D_MOVE_LEAN= 0x008000, |
51 | NTAG_I2C_1K = 0x010000, | |
52 | NTAG_I2C_2K = 0x020000, | |
22e24700 | 53 | FUDAN_UL = 0x040000, |
54 | MAGIC = 0x080000, | |
98cdd568 | 55 | UL_MAGIC = UL | MAGIC, |
56 | UL_C_MAGIC = UL_C | MAGIC, | |
1fa96198 | 57 | UL_ERROR = 0xFFFFFF, |
98cdd568 | 58 | } TagTypeUL_t; |
59 | ||
0ec548dc | 60 | #endif |