]>
Commit | Line | Data |
---|---|---|
e98300f2 | 1 | //-----------------------------------------------------------------------------\r |
2 | //\r | |
3 | // This code is licensed to you under the terms of the GNU GPL, version 2 or,\r | |
4 | // at your option, any later version. See the LICENSE.txt file for the text of\r | |
5 | // the license.\r | |
6 | //-----------------------------------------------------------------------------\r | |
7 | // Low frequency T55xx commands\r | |
8 | //-----------------------------------------------------------------------------\r | |
9 | \r | |
10 | #ifndef CMDLFT55XX_H__\r | |
11 | #define CMDLFT55XX_H__\r | |
12 | \r | |
71020824 | 13 | typedef struct {\r |
14 | uint8_t modulation;\r | |
15 | bool inversed;\r | |
16 | uint32_t block0;\r | |
17 | } t55xx_conf_block_t;\r | |
18 | \r | |
19 | \r | |
e98300f2 | 20 | int CmdLFT55XX(const char *Cmd);\r |
83a42ef9 | 21 | int CmdT55xxSetConfig(const char *Cmd);\r |
33add187 | 22 | int CmdT55xxReadBlock(const char *Cmd);\r |
23 | int CmdT55xxWriteBlock(const char *Cmd);\r | |
24 | int CmdT55xxReadTrace(const char *Cmd);\r | |
25 | int CmdT55xxInfo(const char *Cmd);\r | |
26 | int CmdT55xxDetect(const char *Cmd);\r | |
83a42ef9 | 27 | \r |
f6c18637 | 28 | char * GetBitRateStr(uint32_t id);\r |
29 | char * GetSaferStr(uint32_t id);\r | |
30 | char * GetModulationStr( uint32_t id);\r | |
71020824 | 31 | char * GetSelectedModulationStr( uint8_t id);\r |
f6c18637 | 32 | uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bitstream);\r |
33add187 | 33 | void printT55xxBlock(const char *demodStr);\r |
71020824 | 34 | void printConfiguration( t55xx_conf_block_t b);\r |
35 | \r | |
33add187 | 36 | void DecodeT55xxBlock();\r |
37 | bool tryDetectModulation();\r | |
3e4811c8 | 38 | bool test();\r |
e98300f2 | 39 | #endif\r |