mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
rework ping
This commit is contained in:
parent
bf0ab55833
commit
2f1061f95b
8 changed files with 25 additions and 36 deletions
|
@ -1521,11 +1521,7 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
case CMD_CAPABILITIES:
|
||||
SendCapabilities();
|
||||
case CMD_PING:
|
||||
if (packet->ng) {
|
||||
reply_ng(CMD_PING, PM3_SUCCESS, packet->data.asBytes, packet->length);
|
||||
} else {
|
||||
reply_mix(CMD_ACK, reply_via_fpc, 0, 0, 0, 0);
|
||||
}
|
||||
reply_ng(CMD_PING, PM3_SUCCESS, packet->data.asBytes, packet->length);
|
||||
break;
|
||||
#ifdef WITH_LCD
|
||||
case CMD_LCD_RESET:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue