2013-01-16 18:42:29 +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 T55xx commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFT55XX_H__
|
|
|
|
#define CMDLFT55XX_H__
|
|
|
|
|
|
|
|
int CmdLFT55XX(const char *Cmd);
|
|
|
|
|
|
|
|
int CmdReadBlk(const char *Cmd);
|
|
|
|
int CmdWriteBlk(const char *Cmd);
|
|
|
|
int CmdReadTrace(const char *Cmd);
|
2014-10-07 01:42:50 +08:00
|
|
|
int CmdInfo(const char *Cmd);
|
2014-10-16 21:05:27 +08:00
|
|
|
int CmdIceFsk(const char *Cmd);
|
2014-10-17 04:25:38 +08:00
|
|
|
int CmdIceManchester(const char *Cmd);
|
2014-10-24 00:36:44 +08:00
|
|
|
int ManchesterDemod(int block);
|
2014-10-07 01:42:50 +08:00
|
|
|
char * GetBitRateStr(uint32_t id);
|
|
|
|
char * GetSaferStr(uint32_t id);
|
|
|
|
char * GetModulationStr( uint32_t id);
|
|
|
|
uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bitstream);
|
2015-02-13 17:16:21 +08:00
|
|
|
bool tryDemod(uint8_t bits[], uint32_t bitlen);
|
|
|
|
bool analyseDemod( int errCnt, size_t bitlen, uint8_t clock, uint8_t invert);
|
2013-01-16 18:42:29 +08:00
|
|
|
#endif
|