Merge pull request #2654 from Antiklesys/master
[RRG-proxmark3.git] / client / src / cmdlf.h
blob176021427e02999113187a8f593dd9b11e1e73f6
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // Low frequency commands
17 //-----------------------------------------------------------------------------
19 #ifndef CMDLF_H__
20 #define CMDLF_H__
22 #include "common.h"
23 #include "pm3_cmd.h" // sample_config_t
25 #define T55XX_WRITE_TIMEOUT 1500
27 int CmdLF(const char *Cmd);
29 int CmdLFConfig(const char *Cmd);
31 int CmdLFCommandRead(const char *Cmd);
32 int CmdFlexdemod(const char *Cmd);
33 int CmdLFRead(const char *Cmd);
34 int CmdLFSim(const char *Cmd);
35 int CmdLFaskSim(const char *Cmd);
36 int CmdLFfskSim(const char *Cmd);
37 int CmdLFpskSim(const char *Cmd);
38 int CmdLFSimBidir(const char *Cmd);
39 int CmdLFSniff(const char *Cmd);
40 int CmdVchDemod(const char *Cmd);
41 int CmdLFfind(const char *Cmd);
43 int lf_read(bool verbose, uint64_t samples);
44 int lf_sniff(bool realtime, bool verbose, uint64_t samples);
45 int lf_setconfig(sample_config *config);
46 int lf_getconfig(sample_config *config);
47 int lf_resetconfig(sample_config *config);
48 int lfsim_upload_gb(void);
49 int lfsim_wait_check(uint32_t cmd);
51 #endif