mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
chg 'hw status' - reply NG.... thanks @cjbrigato
This commit is contained in:
parent
abe5ca47a5
commit
d3651cc075
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ void SendStatus(void) {
|
||||||
Flashmem_print_info();
|
Flashmem_print_info();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
reply_old(CMD_ACK, 1, 0, 0, 0, 0);
|
reply_ng(CMD_STATUS, PM3_SUCCESS, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendCapabilities(void) {
|
void SendCapabilities(void) {
|
||||||
|
|
|
@ -502,7 +502,7 @@ static int CmdStatus(const char *Cmd) {
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
SendCommandNG(CMD_STATUS, NULL, 0);
|
SendCommandNG(CMD_STATUS, NULL, 0);
|
||||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 2000))
|
if (WaitForResponseTimeout(CMD_STATUS, &resp, 2000) == false)
|
||||||
PrintAndLogEx(WARNING, "Status command failed. Communication speed test timed out");
|
PrintAndLogEx(WARNING, "Status command failed. Communication speed test timed out");
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue