2016-02-14 03:53:06 +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 Presco tag commands
|
2016-02-14 03:53:06 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFPRESCO_H__
|
|
|
|
#define CMDLFPRESCO_H__
|
2019-08-08 22:57:33 +08:00
|
|
|
|
|
|
|
#include "common.h"
|
2017-07-14 22:20:34 +08:00
|
|
|
|
2019-04-06 06:38:22 +08:00
|
|
|
int CmdLFPresco(const char *Cmd);
|
2016-03-08 01:53:02 +08:00
|
|
|
|
2019-04-12 06:38:54 +08:00
|
|
|
int demodPresco(void);
|
2019-04-06 06:38:22 +08:00
|
|
|
int detectPresco(uint8_t *dest, size_t *size);
|
2019-04-12 06:38:54 +08:00
|
|
|
int getPrescoBits(uint32_t fullcode, uint8_t *prescoBits);
|
|
|
|
int getWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode, uint32_t *fullcode, bool *Q5);
|
2016-02-14 03:53:06 +08:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|