db25599d |
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 | // Low frequency AWID commands |
9 | //----------------------------------------------------------------------------- |
10 | |
11 | #ifndef CMDLFAWID_H__ |
12 | #define CMDLFAWID_H__ |
13 | |
f5291a6c |
14 | #include <stdio.h> // sscanf |
15 | #include <stdbool.h> // bool |
16 | #include "proxmark3.h" // Definitions, USB controls, etc |
17 | #include "ui.h" // PrintAndLog |
18 | #include "cmdparser.h" // CmdsParse, CmdsHelp |
19 | #include "lfdemod.h" // parityTest |
20 | #include "util.h" // weigandparity |
21 | #include "protocols.h" // for T55xx config register definitions |
22 | #include "cmdmain.h" |
23 | #include "sleep.h" |
24 | |
25 | |
db25599d |
26 | int CmdLFAWID(const char *Cmd); |
db25599d |
27 | int CmdAWIDDemodFSK(const char *Cmd); |
28 | int CmdAWIDSim(const char *Cmd); |
29 | int CmdAWIDClone(const char *Cmd); |
508b37ba |
30 | int CmdAWIDBrute(const char *Cmd); |
8fd9bfb0 |
31 | int getAWIDBits(uint8_t fmtlen, uint32_t fc, uint32_t cn, uint8_t *AWIDBits); |
db25599d |
32 | int usage_lf_awid_fskdemod(void); |
33 | int usage_lf_awid_clone(void); |
34 | int usage_lf_awid_sim(void); |
508b37ba |
35 | int usage_lf_awid_brute(void); |
db25599d |
36 | |
37 | #endif |