2016-07-29 17:04:12 +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.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Low frequency T55xx commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFJABLOTRON_H__
|
|
|
|
#define CMDLFJABLOTRON_H__
|
|
|
|
#include <string.h>
|
|
|
|
#include <inttypes.h>
|
2016-07-31 01:37:15 +08:00
|
|
|
#include <math.h>
|
2016-07-29 17:04:12 +08:00
|
|
|
#include "proxmark3.h"
|
|
|
|
#include "ui.h"
|
|
|
|
#include "util.h"
|
|
|
|
#include "graph.h"
|
|
|
|
#include "cmdparser.h"
|
|
|
|
#include "cmddata.h"
|
|
|
|
#include "cmdmain.h"
|
|
|
|
#include "cmdlf.h"
|
|
|
|
#include "protocols.h" // for T55xx config register definitions
|
|
|
|
#include "lfdemod.h" // parityTest
|
|
|
|
int CmdLFJablotron(const char *Cmd);
|
|
|
|
int CmdJablotronClone(const char *Cmd);
|
|
|
|
int CmdJablotronSim(const char *Cmd);
|
|
|
|
int CmdJablotronRead(const char *Cmd);
|
|
|
|
int CmdJablotronDemod(const char *Cmd);
|
|
|
|
|
|
|
|
int getJablotronBits(uint64_t fullcode, uint8_t *bits);
|
|
|
|
|
|
|
|
int usage_lf_jablotron_clone(void);
|
|
|
|
int usage_lf_jablotron_sim(void);
|
|
|
|
int usage_lf_jablotron_read(void);
|
|
|
|
int usage_lf_jablotron_demod(void);
|
|
|
|
#endif
|
|
|
|
|