modified hf 14a apdu to report back when extending time and also added a possibililty to interrupt the extension loop with button press or usb commad. A bunch of minor textual changes

This commit is contained in:
iceman1001 committed 2025-03-20 19:58:13 +01:00
1 parent db877ce4fd
commit b4cc21c68f
19 files changed
+99 -57

No files matched your search

+3 -3
View File
@@ -178,7 +178,7 @@ static int CmdLFTune(const char *Cmd) {
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING_LF, params, sizeof(params));
if (WaitForResponseTimeout(CMD_MEASURE_ANTENNA_TUNING_LF, &resp, 1000) == false) {
PrintAndLogEx(WARNING, "Timeout while waiting for Proxmark LF initialization, aborting");
PrintAndLogEx(WARNING, "timeout while waiting for Proxmark LF initialization, aborting");
return PM3_ETIMEOUT;
}
@@ -202,7 +202,7 @@ static int CmdLFTune(const char *Cmd) {
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING_LF, params, sizeof(params));
if (WaitForResponseTimeout(CMD_MEASURE_ANTENNA_TUNING_LF, &resp, 1000) == false) {
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(WARNING, "Timeout while waiting for Proxmark LF measure, aborting");
PrintAndLogEx(WARNING, "timeout while waiting for Proxmark LF measure, aborting");
break;
}
@@ -229,7 +229,7 @@ static int CmdLFTune(const char *Cmd) {
params[0] = 3;
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING_LF, params, sizeof(params));
if (WaitForResponseTimeout(CMD_MEASURE_ANTENNA_TUNING_LF, &resp, 1000) == false) {
PrintAndLogEx(WARNING, "Timeout while waiting for Proxmark LF shutdown, aborting");
PrintAndLogEx(WARNING, "timeout while waiting for Proxmark LF shutdown, aborting");
return PM3_ETIMEOUT;
}