mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
rework ping
This commit is contained in:
parent
bf0ab55833
commit
2f1061f95b
8 changed files with 25 additions and 36 deletions
|
@ -87,12 +87,12 @@ static int usage_lf_awid_brute(void) {
|
|||
}
|
||||
|
||||
static bool sendPing(void) {
|
||||
SendCommandMIX(CMD_PING, 1, 2, 3, NULL, 0);
|
||||
SendCommandMIX(CMD_PING, 1, 2, 3, NULL, 0);
|
||||
SendCommandMIX(CMD_PING, 1, 2, 3, NULL, 0);
|
||||
SendCommandNG(CMD_PING, NULL, 0);
|
||||
SendCommandNG(CMD_PING, NULL, 0);
|
||||
SendCommandNG(CMD_PING, NULL, 0);
|
||||
clearCommandBuffer();
|
||||
PacketResponseNG resp;
|
||||
if (!WaitForResponseTimeout(CMD_ACK, &resp, 1000))
|
||||
if (!WaitForResponseTimeout(CMD_PING, &resp, 1000))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue