2016-02-26 00:49:48 +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-14 22:20:34 +08:00
|
|
|
// Low frequency Farpoint / Pyramid commands
|
2016-02-26 00:49:48 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFPYRAMID_H__
|
|
|
|
#define CMDLFPYRAMID_H__
|
2017-07-30 15:17:48 +08:00
|
|
|
#include <string.h>
|
|
|
|
#include <inttypes.h>
|
2016-02-26 00:49:48 +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
|
|
|
|
#include "crc.h"
|
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int CmdLFPyramid(const char *Cmd);
|
|
|
|
int CmdPyramidDemod(const char *Cmd);
|
|
|
|
int CmdPyramidRead(const char *Cmd);
|
|
|
|
int CmdPyramidClone(const char *Cmd);
|
|
|
|
int CmdPyramidSim(const char *Cmd);
|
2016-02-26 00:49:48 +08:00
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx);
|
2017-07-30 15:17:48 +08:00
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int usage_lf_pyramid_clone(void);
|
|
|
|
int usage_lf_pyramid_sim(void);
|
2016-02-26 00:49:48 +08:00
|
|
|
#endif
|
|
|
|
|