Add ISO14A_CLEARTRACE param to explicitly clear 14a trace
This commit is contained in:
1 parent
7bedde39a7
commit
fa08075ded
21 files changed
+49
-42
No files matched your search
@@ -1128,7 +1128,7 @@ static void saflok_encode(
|
||||
// perhaps by creating a struct to avoid having to pass a length parameter.
|
||||
static int saflok_read_sector(int sector, uint8_t *secdata) {
|
||||
clearCommandBuffer();
|
||||
SendCommandMIX(CMD_HF_ISO14443A_READER, ISO14A_CONNECT, 0, 0, NULL, 0);
|
||||
SendCommandMIX(CMD_HF_ISO14443A_READER, ISO14A_CONNECT | ISO14A_CLEARTRACE, 0, 0, NULL, 0);
|
||||
PacketResponseNG resp;
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 2500) == false) {
|
||||
PrintAndLogEx(DEBUG, "iso14443a card select failed");
|
||||
|
||||
Reference in new issue
Block a user