]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // High frequency ISO14443B commands | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef CMDHF14B_H__ | |
12 | #define CMDHF14B_H__ | |
13 | ||
14 | #include "iso14443crc.h" | |
15 | #include "proxmark3.h" | |
16 | #include "data.h" | |
17 | #include "graph.h" | |
18 | #include "util.h" | |
19 | #include "ui.h" | |
20 | #include "cmdparser.h" | |
21 | #include "cmdmain.h" | |
22 | #include "cmdhf14a.h" | |
23 | #include "tea.h" | |
24 | #include "cmdhf.h" | |
25 | #include "prng.h" | |
26 | #include "sha1.h" | |
27 | #include "mifare.h" // structs/enum for ISO14B | |
28 | #include "protocols.h" // definitions of ISO14B protocol | |
29 | ||
30 | ||
31 | int usage_hf_14b_info(void); | |
32 | int usage_hf_14b_reader(void); | |
33 | int usage_hf_14b_raw(void); | |
34 | int usage_hf_14b_snoop(void); | |
35 | int usage_hf_14b_sim(void); | |
36 | int usage_hf_14b_read_srx(void); | |
37 | int usage_hf_14b_write_srx(void); | |
38 | ||
39 | int CmdHF14B(const char *Cmd); | |
40 | int CmdHF14BList(const char *Cmd); | |
41 | int CmdHF14BInfo(const char *Cmd); | |
42 | int CmdHF14BSim(const char *Cmd); | |
43 | int CmdHF14BSnoop(const char *Cmd); | |
44 | int CmdHF14BWrite( const char *cmd); | |
45 | int CmdHF14BReader(const char *Cmd); | |
46 | ||
47 | bool HF14BInfo(bool verbose); | |
48 | bool HF14BReader(bool verbose); | |
49 | int CmdHF14BCmdRaw (const char *Cmd); | |
50 | ||
51 | // SRi ST Microelectronics read/write | |
52 | int CmdHF14BReadSri(const char *Cmd); | |
53 | int CmdHF14BWriteSri(const char *Cmd); | |
54 | ||
55 | bool waitCmd(bool verbose); | |
56 | #endif |