| 1 | #include "cmdhfmf.h" |
| 2 | #include "cmdhf14a.h" |
| 3 | |
| 4 | #ifndef CMDHFMFU_H__ |
| 5 | #define CMDHFMFU_H__ |
| 6 | |
| 7 | int CmdHF14AMfUWrBl(const char *Cmd); |
| 8 | int CmdHF14AMfURdBl(const char *Cmd); |
| 9 | |
| 10 | //Crypto Cards |
| 11 | int CmdHF14AMfucAuth(const char *Cmd); |
| 12 | |
| 13 | //general stuff |
| 14 | int CmdHF14AMfUDump(const char *Cmd); |
| 15 | int CmdHF14AMfUInfo(const char *Cmd); |
| 16 | |
| 17 | uint32_t GetHF14AMfU_Type(void); |
| 18 | int ul_print_type(uint32_t tagtype, uint8_t spacer); |
| 19 | void ul_switch_off_field(void); |
| 20 | |
| 21 | int usage_hf_mfu_dump(void); |
| 22 | int usage_hf_mfu_info(void); |
| 23 | int usage_hf_mfu_rdbl(void); |
| 24 | int usage_hf_mfu_wrbl(void); |
| 25 | |
| 26 | int CmdHFMFUltra(const char *Cmd); |
| 27 | |
| 28 | typedef enum TAGTYPE_UL { |
| 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, |
| 45 | MY_D_MOVE_LEAN= 0x008000, |
| 46 | NTAG_I2C_1K = 0x010000, |
| 47 | NTAG_I2C_2K = 0x020000, |
| 48 | FUDAN_UL = 0x040000, |
| 49 | MAGIC = 0x080000, |
| 50 | UL_MAGIC = UL | MAGIC, |
| 51 | UL_C_MAGIC = UL_C | MAGIC, |
| 52 | UL_ERROR = 0xFFFFFF, |
| 53 | } TagTypeUL_t; |
| 54 | |
| 55 | #endif |