]>
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 | //standard ultralight |
8 | int CmdHF14AMfUWrBl(const char *Cmd); | |
9 | int CmdHF14AMfURdBl(const char *Cmd); | |
99a71418 | 10 | |
f38a1528 | 11 | //Crypto Cards |
12 | int CmdHF14AMfUCRdBl(const char *Cmd); | |
13 | int CmdHF14AMfUCRdCard(const char *Cmd); | |
f38a1528 | 14 | int CmdHF14AMfucAuth(const char *Cmd); |
f38a1528 | 15 | |
16 | //general stuff | |
98cdd568 | 17 | int CmdHF14AMfUInfo(const char *Cmd); |
99a71418 | 18 | int CmdHF14AMfUDump(const char *Cmd); |
2c74558d | 19 | uint16_t GetHF14AMfU_Type(void); |
1ec21089 | 20 | |
833081e3 | 21 | //void rol (uint8_t *data, const size_t len); |
98cdd568 | 22 | int ul_print_type(uint16_t tagtype, uint8_t spacer); |
23 | void ul_switch_off_field(void); | |
24 | ||
25 | int usage_hf_mfu_info(void); | |
1c1c5f4c | 26 | int usage_hf_mfu_dump(void); |
a8be77af | 27 | |
f38a1528 | 28 | int CmdHFMFUltra(const char *Cmd); |
98cdd568 | 29 | |
30 | typedef enum TAGTYPE_UL { | |
31 | UNKNOWN = 0x0000, | |
32 | UL = 0x0001, | |
33 | UL_C = 0x0002, | |
34 | UL_EV1_48 = 0x0004, | |
35 | UL_EV1_128 = 0x0008, | |
36 | NTAG = 0x0010, | |
37 | NTAG_213 = 0x0020, | |
38 | NTAG_215 = 0x0040, | |
39 | NTAG_216 = 0x0080, | |
40 | MY_D = 0x0100, | |
41 | MY_D_NFC = 0x0200, | |
42 | MY_D_MOVE = 0x0400, | |
43 | MY_D_MOVE_NFC = 0x0800, | |
44 | MAGIC = 0x1000, | |
45 | UL_MAGIC = UL | MAGIC, | |
46 | UL_C_MAGIC = UL_C | MAGIC, | |
47 | UL_ERROR = 0xFFFF, | |
48 | } TagTypeUL_t; | |
49 | ||
0ec548dc | 50 | #endif |