1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
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
7 //-----------------------------------------------------------------------------
8 // Low frequency commands
9 //-----------------------------------------------------------------------------
15 #include "pm3_cmd.h" // sample_config_t
17 #define T55XX_WRITE_TIMEOUT 1500
19 int CmdLF(const char *Cmd
);
21 int CmdLFConfig(const char *Cmd
);
23 int CmdLFCommandRead(const char *Cmd
);
24 int CmdFlexdemod(const char *Cmd
);
25 int CmdLFRead(const char *Cmd
);
26 int CmdLFSim(const char *Cmd
);
27 int CmdLFaskSim(const char *Cmd
);
28 int CmdLFfskSim(const char *Cmd
);
29 int CmdLFpskSim(const char *Cmd
);
30 int CmdLFSimBidir(const char *Cmd
);
31 int CmdLFSniff(const char *Cmd
);
32 int CmdVchDemod(const char *Cmd
);
33 int CmdLFfind(const char *Cmd
);
35 int lf_read(bool verbose
, uint32_t samples
);
36 int lf_sniff(bool verbose
, uint32_t samples
);
37 int lf_config(sample_config
*config
);
38 int lf_getconfig(sample_config
*config
);
39 int lfsim_upload_gb(void);
40 int lfsim_wait_check(uint32_t cmd
);