]>
Commit | Line | Data |
---|---|---|
a553f267 | 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 Legic commands | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
7fe9b0b7 | 11 | #ifndef CMDHFLEGIC_H__ |
12 | #define CMDHFLEGIC_H__ | |
13 | ||
3e134b4c | 14 | #include <stdio.h> |
15 | #include <string.h> | |
16 | #include "proxmark3.h" | |
17 | #include "data.h" | |
18 | #include "ui.h" | |
19 | #include "cmdparser.h" | |
20 | #include "cmdmain.h" | |
21 | #include "util.h" | |
22 | #include "crc.h" | |
ad5bc8cc | 23 | #include "legic_prng.h" |
3e134b4c | 24 | |
7fe9b0b7 | 25 | int CmdHFLegic(const char *Cmd); |
26 | ||
27 | int CmdLegicRFRead(const char *Cmd); | |
669c1b80 | 28 | int CmdLegicDecode(const char *Cmd); |
3612a8a8 | 29 | int CmdLegicLoad(const char *Cmd); |
30 | int CmdLegicSave(const char *Cmd); | |
31 | int CmdLegicRfSim(const char *Cmd); | |
32 | int CmdLegicRfWrite(const char *Cmd); | |
3e134b4c | 33 | int CmdLegicRfRawWrite(const char *Cmd); |
3612a8a8 | 34 | int CmdLegicRfFill(const char *Cmd); |
7fe9b0b7 | 35 | |
3b920280 | 36 | int CmdLegicCalcCrc8(const char *Cmd); |
37 | ||
38 | int usage_legic_calccrc8(void); | |
3e134b4c | 39 | int usage_legic_load(void); |
40 | int usage_legic_read(void); | |
7fe9b0b7 | 41 | #endif |