| 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 commands |
| 9 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifndef CMDLF_H__ |
| 12 | #define CMDLF_H__ |
| 13 | #include <stdio.h> |
| 14 | #include <stdlib.h> |
| 15 | #include <string.h> |
| 16 | #include <limits.h> |
| 17 | #include "proxmark3.h" |
| 18 | #include "lfdemod.h" |
| 19 | |
| 20 | #include "util.h" // for parsing cli command utils |
| 21 | #include "ui.h" // for show graph controls |
| 22 | #include "graph.h" // for graph data |
| 23 | #include "cmdparser.h" // for getting cli commands included in cmdmain.h |
| 24 | #include "cmdmain.h" // for sending cmds to device |
| 25 | #include "data.h" // for GetFromBigBuf |
| 26 | #include "cmddata.h" // for `lf search` |
| 27 | #include "cmdlfawid.h" // for awid menu |
| 28 | #include "cmdlfem4x.h" // for em4x menu |
| 29 | #include "cmdlfhid.h" // for hid menu |
| 30 | #include "cmdlfhitag.h" // for hitag menu |
| 31 | #include "cmdlfio.h" // for ioprox menu |
| 32 | #include "cmdlft55xx.h" // for t55xx menu |
| 33 | #include "cmdlfti.h" // for ti menu |
| 34 | #include "cmdlfpresco.h" // for presco menu |
| 35 | #include "cmdlfpcf7931.h" // for pcf7931 menu |
| 36 | #include "cmdlfpyramid.h" // for pyramid menu |
| 37 | #include "cmdlfviking.h" // for viking menu |
| 38 | #include "cmdlfguard.h" // for GuardAll menu |
| 39 | #include "cmdlfnedap.h" // for NEDAP menu |
| 40 | #include "cmdlfjablotron.h" // for JABLOTRON menu |
| 41 | |
| 42 | int CmdLF(const char *Cmd); |
| 43 | |
| 44 | int CmdLFCommandRead(const char *Cmd); |
| 45 | int CmdFlexdemod(const char *Cmd); |
| 46 | int CmdIndalaDemod(const char *Cmd); |
| 47 | int CmdIndalaClone(const char *Cmd); |
| 48 | int CmdLFRead(const char *Cmd); |
| 49 | int CmdLFSim(const char *Cmd); |
| 50 | int CmdLFaskSim(const char *Cmd); |
| 51 | int CmdLFfskSim(const char *Cmd); |
| 52 | int CmdLFpskSim(const char *Cmd); |
| 53 | int CmdLFSimBidir(const char *Cmd); |
| 54 | int CmdLFSnoop(const char *Cmd); |
| 55 | int CmdVchDemod(const char *Cmd); |
| 56 | int CmdLFfind(const char *Cmd); |
| 57 | |
| 58 | // usages helptext |
| 59 | int usage_lf_cmdread(void); |
| 60 | int usage_lf_read(void); |
| 61 | int usage_lf_snoop(void); |
| 62 | int usage_lf_config(void); |
| 63 | int usage_lf_simfsk(void); |
| 64 | int usage_lf_simask(void); |
| 65 | int usage_lf_simpsk(void); |
| 66 | #endif |