2017-01-27 17:49:34 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2017-07-30 15:17:48 +08:00
|
|
|
// Authored by Iceman
|
2017-01-27 17:49:34 +08:00
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
2017-07-30 15:17:48 +08:00
|
|
|
// Low frequency COTAG commands
|
2017-01-27 17:49:34 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFCOTAG_H__
|
|
|
|
#define CMDLFCOTAG_H__
|
|
|
|
|
2017-02-03 02:15:36 +08:00
|
|
|
#include "proxmark3.h" // Definitions, USB controls, COTAG_BITS
|
2017-01-27 17:56:14 +08:00
|
|
|
#include "util.h" // FALSE / TRUE
|
2017-01-27 17:49:34 +08:00
|
|
|
#include "cmddata.h" // getSamples
|
|
|
|
#include "cmdparser.h" // CmdsParse, CmdsHelp
|
2018-09-07 03:43:20 +08:00
|
|
|
#include "comms.h"
|
2017-02-01 21:11:11 +08:00
|
|
|
#include "ui.h" // PrintAndLog
|
|
|
|
#include "cmdlf.h" // Setconfig
|
2017-01-27 17:49:34 +08:00
|
|
|
|
2017-02-03 02:15:36 +08:00
|
|
|
#ifndef COTAG_BITS
|
2017-02-03 07:07:55 +08:00
|
|
|
#define COTAG_BITS 264
|
2017-02-03 02:15:36 +08:00
|
|
|
#endif
|
|
|
|
|
2017-07-30 15:17:48 +08:00
|
|
|
extern int CmdLFCOTAG(const char *Cmd);
|
|
|
|
extern int CmdCOTAGRead(const char *Cmd);
|
|
|
|
extern int CmdCOTAGDemod(const char *Cmd);
|
2017-01-27 17:49:34 +08:00
|
|
|
|
2017-07-30 15:17:48 +08:00
|
|
|
extern int usage_lf_cotag_read(void);
|
2017-01-27 17:49:34 +08:00
|
|
|
#endif
|