mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
style
This commit is contained in:
parent
92d4cea919
commit
0d41c2ef09
1 changed files with 20 additions and 20 deletions
|
@ -97,32 +97,32 @@ typedef enum SOF_TYPE {
|
||||||
} stype;
|
} stype;
|
||||||
|
|
||||||
struct hitagS_tag {
|
struct hitagS_tag {
|
||||||
PSTATE pstate; //protocol-state
|
PSTATE pstate; // protocol-state
|
||||||
TSATE tstate; //tag-state
|
TSATE tstate; // tag-state
|
||||||
uint32_t uid;
|
uint32_t uid;
|
||||||
uint8_t pages[64][4];
|
uint8_t pages[64][4];
|
||||||
uint64_t key;
|
uint64_t key;
|
||||||
uint8_t pwdl0, pwdl1, pwdh0;
|
uint8_t pwdl0, pwdl1, pwdh0;
|
||||||
//con0
|
// con0
|
||||||
int max_page;
|
int max_page;
|
||||||
stype mode;
|
stype mode;
|
||||||
//con1
|
// con1
|
||||||
bool auth; //0=Plain 1=Auth
|
bool auth; // 0 = Plain 1 = Auth
|
||||||
bool TTFC; //Transponder Talks first coding. 0=Manchester 1=Biphase
|
bool TTFC; // Transponder Talks first coding. 0 = Manchester 1 = Biphase
|
||||||
int TTFDR; //data rate in TTF Mode
|
int TTFDR; // data rate in TTF Mode
|
||||||
int TTFM; //the number of pages that are sent to the RWD
|
int TTFM; // the number of pages that are sent to the RWD
|
||||||
bool LCON; //0=con1/2 read write 1=con1 read only and con2 OTP
|
bool LCON; // 0 = con1/2 read write 1 =con1 read only and con2 OTP
|
||||||
bool LKP; //0=page2/3 read write 1=page2/3 read only in Plain mode and no access in authenticate mode
|
bool LKP; // 0 = page2/3 read write 1 =page2/3 read only in Plain mode and no access in authenticate mode
|
||||||
//con2
|
// con2
|
||||||
//0=read write 1=read only
|
// 0 = read write 1 = read only
|
||||||
bool LCK7; //page4/5
|
bool LCK7; // page4/5
|
||||||
bool LCK6; //page6/7
|
bool LCK6; // page6/7
|
||||||
bool LCK5; //page8-11
|
bool LCK5; // page8-11
|
||||||
bool LCK4; //page12-15
|
bool LCK4; // page12-15
|
||||||
bool LCK3; //page16-23
|
bool LCK3; // page16-23
|
||||||
bool LCK2; //page24-31
|
bool LCK2; // page24-31
|
||||||
bool LCK1; //page32-47
|
bool LCK1; // page32-47
|
||||||
bool LCK0; //page48-63
|
bool LCK0; // page48-63
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue