mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX
This commit is contained in:
parent
39272ba1fb
commit
290f2b625b
43 changed files with 144 additions and 144 deletions
|
@ -32,7 +32,7 @@ static int CmdHFEPACollectPACENonces(const char *Cmd) {
|
|||
for (uint32_t i = 0; i < n; i++) {
|
||||
// execute PACE
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_EPA_PACE_COLLECT_NONCE, (int)m, 0, 0, NULL, 0);
|
||||
SendCommandMIX(CMD_EPA_PACE_COLLECT_NONCE, (int)m, 0, 0, NULL, 0);
|
||||
PacketResponseNG resp;
|
||||
WaitForResponse(CMD_ACK, &resp);
|
||||
|
||||
|
@ -135,7 +135,7 @@ static int CmdHFEPAPACEReplay(const char *Cmd) {
|
|||
|
||||
// now perform the replay
|
||||
clearCommandBuffer();
|
||||
SendCommandOLD(CMD_EPA_PACE_REPLAY, 0, 0, 0, NULL, 0);
|
||||
SendCommandNG(CMD_EPA_PACE_REPLAY, NULL, 0);
|
||||
WaitForResponse(CMD_ACK, &resp);
|
||||
if (resp.oldarg[0] != 0) {
|
||||
PrintAndLogEx(NORMAL, "\nPACE replay failed in step %u!", (uint32_t)resp.oldarg[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue