proxmark3/client/cmdlft55xx.h

29 lines
1.1 KiB
C
Raw Normal View History

//-----------------------------------------------------------------------------
//
// 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);
int CmdIceFsk(const char *Cmd);
int CmdIceManchester(const char *Cmd);
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);
#endif