2019-02-23 22:44: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.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Low frequency Stanley/PAC tag commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFKERI_H__
|
|
|
|
#define CMDLFKERI_H__
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <inttypes.h>
|
|
|
|
#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" // preamble test
|
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int CmdLFKeri(const char *Cmd);
|
2019-02-23 22:44:34 +08:00
|
|
|
|
2019-04-12 06:38:54 +08:00
|
|
|
int demodKeri(void);
|
2019-04-06 06:38:22 +08:00
|
|
|
int detectKeri(uint8_t *dest, size_t *size, bool *invert);
|
2019-02-23 22:44:34 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|