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
|
2019-03-10 06:35:06 +08:00
|
|
|
#include "cmddata.h" // getSamples
|
2017-01-27 17:49:34 +08:00
|
|
|
#include "cmdparser.h" // CmdsParse, CmdsHelp
|
2018-09-07 03:43:20 +08:00
|
|
|
#include "comms.h"
|
2019-03-10 06:35:06 +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
|
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int CmdLFCOTAG(const char *Cmd);
|
2019-04-12 07:55:25 +08:00
|
|
|
int demodCOTAG(void);
|
|
|
|
int readCOTAGUid(void);
|
2017-01-27 17:49:34 +08:00
|
|
|
#endif
|