2016-03-06 12:45:28 +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-03-26 03:51:31 +08:00
|
|
|
// Low frequency Presco tag commands
|
2016-03-06 12:45:28 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFPRESCO_H__
|
|
|
|
#define CMDLFPRESCO_H__
|
2016-03-07 14:01:40 +08:00
|
|
|
|
|
|
|
#include <stdint.h> //uint_32+
|
|
|
|
#include <stdbool.h> //bool
|
|
|
|
|
2016-03-06 12:45:28 +08:00
|
|
|
int CmdLFPresco(const char *Cmd);
|
|
|
|
int CmdPrescoClone(const char *Cmd);
|
2016-03-07 14:01:40 +08:00
|
|
|
int CmdPrescoSim(const char *Cmd);
|
|
|
|
|
|
|
|
int GetWiegandFromPresco(const char *id, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5);
|
2016-03-06 12:45:28 +08:00
|
|
|
|
|
|
|
int usage_lf_presco_clone(void);
|
|
|
|
int usage_lf_presco_sim(void);
|
|
|
|
#endif
|
|
|
|
|