]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlft55xx.h
1 //-----------------------------------------------------------------------------
3 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
4 // at your option, any later version. See the LICENSE.txt file for the text of
6 //-----------------------------------------------------------------------------
7 // Low frequency T55xx commands
8 //-----------------------------------------------------------------------------
10 #ifndef CMDLFT55XX_H__
11 #define CMDLFT55XX_H__
28 int CmdLFT55XX(const char *Cmd
);
29 int CmdT55xxSetConfig(const char *Cmd
);
30 int CmdT55xxReadBlock(const char *Cmd
);
31 int CmdT55xxWriteBlock(const char *Cmd
);
32 int CmdT55xxReadTrace(const char *Cmd
);
33 int CmdT55xxInfo(const char *Cmd
);
34 int CmdT55xxDetect(const char *Cmd
);
36 char * GetBitRateStr(uint32_t id
);
37 char * GetSaferStr(uint32_t id
);
38 char * GetModulationStr( uint32_t id
);
39 char * GetModelStrFromCID(uint32_t cid
);
40 char * GetSelectedModulationStr( uint8_t id
);
41 uint32_t PackBits(uint8_t start
, uint8_t len
, uint8_t* bitstream
);
42 void printT55xxBlock(const char *demodStr
);
43 void printConfiguration( t55xx_conf_block_t b
);
45 void DecodeT55xxBlock();
46 bool tryDetectModulation();
47 bool test(uint8_t mode
, uint8_t *offset
);
48 int special(const char *Cmd
);
49 int AquireData( uint8_t block
);