]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // | |
3 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
4 | // at your option, any later version. See the LICENSE.txt file for the text of | |
5 | // the license. | |
6 | //----------------------------------------------------------------------------- | |
7 | // Low frequency T55xx commands | |
8 | //----------------------------------------------------------------------------- | |
9 | #ifndef CMDLFFDX_H__ | |
10 | #define CMDLFFDX_H__ | |
11 | #include <string.h> | |
12 | #include <inttypes.h> | |
13 | #include <math.h> | |
14 | #include "proxmark3.h" | |
15 | #include "ui.h" | |
16 | #include "util.h" | |
17 | #include "graph.h" | |
18 | #include "cmdparser.h" | |
19 | #include "cmddata.h" | |
20 | #include "cmdmain.h" | |
21 | #include "cmdlf.h" | |
22 | #include "crc16.h" // for checksum crc-16_ccitt | |
23 | #include "protocols.h" // for T55xx config register definitions | |
24 | #include "lfdemod.h" // parityTest | |
25 | int CmdLFFdx(const char *Cmd); | |
26 | int CmdFdxClone(const char *Cmd); | |
27 | int CmdFdxSim(const char *Cmd); | |
28 | int CmdFdxRead(const char *Cmd); | |
29 | int CmdFdxDemod(const char *Cmd); | |
30 | ||
31 | int getFDXBits(uint64_t national_id, uint16_t country, uint8_t isanimal, uint8_t isextended, uint32_t extended, uint8_t *bits); | |
32 | ||
33 | int usage_lf_fdx_clone(void); | |
34 | int usage_lf_fdx_sim(void); | |
35 | int usage_lf_fdx_read(void); | |
36 | int usage_lf_fdx_demod(void); | |
37 | #endif | |
38 |