2016-05-17 03:39:40 +08:00
|
|
|
// Low frequency Kantech IOProx commands
|
2014-03-21 15:45:18 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFIO_H__
|
|
|
|
#define CMDLFIO_H__
|
|
|
|
|
2016-05-17 03:39:40 +08:00
|
|
|
#include <stdio.h> // sscanf
|
2017-07-30 15:17:48 +08:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
2016-05-17 03:39:40 +08:00
|
|
|
#include "proxmark3.h" // Definitions, USB controls, etc
|
|
|
|
#include "ui.h" // PrintAndLog
|
|
|
|
#include "cmdparser.h" // CmdsParse, CmdsHelp
|
|
|
|
#include "lfdemod.h" // parityTest
|
|
|
|
#include "util.h" // weigandparity
|
|
|
|
#include "protocols.h" // for T55xx config register definitions
|
|
|
|
#include "data.h"
|
|
|
|
#include "cmdmain.h"
|
|
|
|
#include "cmddata.h"
|
|
|
|
#include "lfdemod.h" // bitbytes_to_byte
|
2017-07-30 15:17:48 +08:00
|
|
|
|
|
|
|
extern int CmdLFIO(const char *Cmd);
|
|
|
|
extern int CmdIOProxDemod(const char *Cmd);
|
|
|
|
extern int CmdIOProxRead(const char *Cmd);
|
|
|
|
extern int CmdIOProxSim(const char *Cmd);
|
|
|
|
extern int CmdIOProxClone(const char *Cmd);
|
2014-03-21 15:45:18 +08:00
|
|
|
|
2016-05-17 03:39:40 +08:00
|
|
|
int getIOProxBits(uint8_t version, uint8_t fc, uint16_t cn, uint8_t *bits);
|
2017-07-30 15:17:48 +08:00
|
|
|
|
|
|
|
extern int usage_lf_io_read(void);
|
|
|
|
extern int usage_lf_io_clone(void);
|
|
|
|
extern int usage_lf_io_sim(void);
|
2014-03-21 15:51:51 +08:00
|
|
|
#endif
|