mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
chg: smartcard - wait until SCL goes high
This commit is contained in:
parent
fff2f51cfb
commit
bcffde1198
3 changed files with 50 additions and 28 deletions
|
@ -101,7 +101,7 @@ int CmdSmartRaw(const char *Cmd) {
|
|||
PrintAndLogEx(WARNING, "smart card response failed");
|
||||
return 1;
|
||||
}
|
||||
PrintAndLogEx(SUCCESS,"resp: %s", sprint_hex(resp.d.asBytes, resp.arg[0]));
|
||||
PrintAndLogEx(SUCCESS,"isOK %d | resp: %s",resp.arg[0], sprint_hex(resp.d.asBytes, resp.arg[1]));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -259,7 +259,7 @@ int CmdSmartReader(const char *Cmd){
|
|||
|
||||
uint8_t isok = resp.arg[0] & 0xFF;
|
||||
if (!isok) {
|
||||
PrintAndLogEx(FAILED, "failed");
|
||||
PrintAndLogEx(FAILED, "failed to get ATR");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue