mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
//-----------------------------------------------------------------------------
|
|
//
|
|
// 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 Presco tag commands
|
|
//-----------------------------------------------------------------------------
|
|
#ifndef CMDLFPRESCO_H__
|
|
#define CMDLFPRESCO_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" // parityTest
|
|
|
|
int CmdLFPresco(const char *Cmd);
|
|
int CmdPrescoRead(const char *Cmd);
|
|
int CmdPrescoDemod(const char *Cmd);
|
|
int CmdPrescoClone(const char *Cmd);
|
|
int CmdPrescoSim(const char *Cmd);
|
|
|
|
int detectPresco(uint8_t *dest, size_t *size);
|
|
int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5);
|
|
|
|
int usage_lf_presco_clone(void);
|
|
int usage_lf_presco_sim(void);
|
|
#endif
|
|
|