mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-14 17:22:59 -07:00
fix 'hf iclass' (#879)
* add loooong timeout for UPDATE command * add flags FLAG_ICLASS_READER_INIT and FLAG_ICLASS_READER_CLEARTRACE * don't overwrite trace buffer during 'hf iclass dump' * fix long waiting time when start_time==0 in TransmitTo15693Tag() * remove some additional debug prints * refactoring: move helper functions from protocols.c to cmdhficlass.c * add 'h' and '1' options to 'hf iclass reader' (from RRG repository) * use correct key when only CreditKey is given in 'hf iclass dump' * separate select_and_auth * DropField() on errors * dump last block in 'hf iclass dump' * display correct memory size (number of blocks) in 'hf iclass reader' and dump * more whitespace fixes
This commit is contained in:
parent
ea5e5d042e
commit
496bb4be33
8 changed files with 443 additions and 453 deletions
|
@ -237,11 +237,14 @@ typedef struct{
|
|||
|
||||
|
||||
// iCLASS reader flags
|
||||
#define FLAG_ICLASS_READER_CC 0x02
|
||||
#define FLAG_ICLASS_READER_CSN 0x04
|
||||
#define FLAG_ICLASS_READER_CONF 0x08
|
||||
#define FLAG_ICLASS_READER_AA 0x10
|
||||
#define FLAG_ICLASS_READER_CREDITKEY 0x40
|
||||
#define FLAG_ICLASS_READER_INIT (1<<0)
|
||||
#define FLAG_ICLASS_READER_CC (1<<1)
|
||||
#define FLAG_ICLASS_READER_CSN (1<<2)
|
||||
#define FLAG_ICLASS_READER_CONF (1<<3)
|
||||
#define FLAG_ICLASS_READER_AA (1<<4)
|
||||
#define FLAG_ICLASS_READER_CREDITKEY (1<<5)
|
||||
#define FLAG_ICLASS_READER_CLEARTRACE (1<<6)
|
||||
|
||||
|
||||
// iCLASS simulation modes
|
||||
#define ICLASS_SIM_MODE_CSN 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue