This commit is contained in:
iceman1001 2021-10-23 18:57:50 +02:00
commit bff057d977
2 changed files with 5 additions and 5 deletions

View file

@ -421,7 +421,7 @@ static int CmdHF14AReader(const char *Cmd) {
"hf 14a reader -@ -> Continuous mode\n"
"hf 14a reader --ecp -> trigger apple enhanced contactless polling\n"
"hf 14a reader --mag -> trigger apple magsafe polling\n"
);
);
void *argtable[] = {
arg_param_begin,
@ -1308,11 +1308,11 @@ static int CmdHF14ACmdRaw(const char *Cmd) {
flags |= ISO14A_NO_RATS;
}
if (use_ecp){
if (use_ecp) {
flags |= ISO14A_USE_ECP;
}
if (use_magsafe){
if (use_magsafe) {
flags |= ISO14A_USE_MAGSAFE;
}

View file

@ -143,7 +143,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
#define ICLASS_DEBIT(x) (((x) & 0x80) == 0x80)
// U7bit
// 7bit Apple Magsafe wake up command
#define MAGSAFE_CMD_WUPA 0x7A
#define ISO14443A_CMD_REQA 0x26