]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlft55xx.h
cd50f99a4574b56885bd491f08b5af3b3a4c1a37
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)
43 int CmdLFT55XX(const char *Cmd
);
44 int CmdT55xxSetConfig(const char *Cmd
);
45 int CmdT55xxReadBlock(const char *Cmd
);
46 int CmdT55xxWriteBlock(const char *Cmd
);
47 int CmdT55xxReadTrace(const char *Cmd
);
48 int CmdT55xxInfo(const char *Cmd
);
49 int CmdT55xxDetect(const char *Cmd
);
50 int CmdResetRead(const char *Cmd
);
52 char * GetBitRateStr(uint32_t id
);
53 char * GetSaferStr(uint32_t id
);
54 char * GetModulationStr( uint32_t id
);
55 char * GetModelStrFromCID(uint32_t cid
);
56 char * GetSelectedModulationStr( uint8_t id
);
57 uint32_t PackBits(uint8_t start
, uint8_t len
, uint8_t *bitstream
);
58 void printT55xxBlock(const char *demodStr
);
59 int printConfiguration( t55xx_conf_block_t b
);
61 bool DecodeT55xxBlock();
62 bool tryDetectModulation();
63 bool test(uint8_t mode
, uint8_t *offset
, int *fndBitRate
);
64 int special(const char *Cmd
);
65 int AquireData( uint8_t page
, uint8_t block
, bool pwdmode
, uint32_t password
);