mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
This commit is contained in:
parent
60c2446e27
commit
6d7fcc642a
6 changed files with 78 additions and 19 deletions
|
@ -250,6 +250,8 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
|||
// bit 3 - turn on FPGA
|
||||
// bit 4 - turn off FPGA
|
||||
// bit 5 - set datain instead of issuing USB reply (called via ARM for StandAloneMode14a)
|
||||
// bit 6 - wipe tag.
|
||||
// bit 7 - use USCUID/GDM (20/23) magic wakeup
|
||||
#define MAGIC_UID 0x01
|
||||
#define MAGIC_WUPC 0x02
|
||||
#define MAGIC_HALT 0x04
|
||||
|
@ -257,7 +259,8 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
|||
#define MAGIC_OFF 0x10
|
||||
#define MAGIC_DATAIN 0x20
|
||||
#define MAGIC_WIPE 0x40
|
||||
#define MAGIC_SINGLE (MAGIC_WUPC | MAGIC_HALT | MAGIC_INIT | MAGIC_OFF) //0x1E
|
||||
#define MAGIC_GDM_ALT_WUPC 0x80
|
||||
#define MAGIC_SINGLE (MAGIC_HALT | MAGIC_INIT | MAGIC_OFF) //0x1E
|
||||
|
||||
// by CMD_HF_MIFARE_CIDENT / Flags
|
||||
#define MAGIC_FLAG_NONE 0x0000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue