]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlft55xx.h
d513407987280dece9cebd78cf8905af3f5c09cb
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__
23 DEMOD_FSK
= 0xF0, //generic FSK (auto detect FCs)
42 t55xx_conf_block_t
Get_t55xx_Config();
43 void Set_t55xx_Config(t55xx_conf_block_t conf
);
46 int CmdLFT55XX(const char *Cmd
);
47 int CmdT55xxSetConfig(const char *Cmd
);
48 int CmdT55xxReadBlock(const char *Cmd
);
49 int CmdT55xxWriteBlock(const char *Cmd
);
50 int CmdT55xxReadTrace(const char *Cmd
);
51 int CmdT55xxInfo(const char *Cmd
);
52 int CmdT55xxDetect(const char *Cmd
);
53 int CmdResetRead(const char *Cmd
);
55 char * GetBitRateStr(uint32_t id
);
56 char * GetSaferStr(uint32_t id
);
57 char * GetModulationStr( uint32_t id
);
58 char * GetModelStrFromCID(uint32_t cid
);
59 char * GetSelectedModulationStr( uint8_t id
);
60 uint32_t PackBits(uint8_t start
, uint8_t len
, uint8_t *bitstream
);
61 void printT55xxBlock(const char *demodStr
);
62 int printConfiguration( t55xx_conf_block_t b
);
64 bool DecodeT55xxBlock();
65 bool tryDetectModulation();
66 bool test(uint8_t mode
, uint8_t *offset
, int *fndBitRate
);
67 int special(const char *Cmd
);
68 int AquireData( uint8_t page
, uint8_t block
, bool pwdmode
, uint32_t password
);