mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
replaced old "SendCommandMIX" by "SendCommandNG"
This commit is contained in:
parent
daa39dff0e
commit
0d61572f6d
1 changed files with 5 additions and 3 deletions
|
@ -456,7 +456,8 @@ int CmdEM4x50Info(const char *Cmd) {
|
||||||
|
|
||||||
// call info command
|
// call info command
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_LF_EM4X50_INFO, 0, 0, 0, &etd, sizeof(etd));
|
SendCommandNG(CMD_LF_EM4X50_INFO, (uint8_t *)&etd, sizeof(etd));
|
||||||
|
|
||||||
|
|
||||||
// get result
|
// get result
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
|
@ -602,7 +603,8 @@ int CmdEM4x50Write(const char *Cmd) {
|
||||||
return usage_lf_em4x50_write();
|
return usage_lf_em4x50_write();
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_LF_EM4X50_WRITE, 0, 0, 0, &etd, sizeof(etd));
|
SendCommandNG(CMD_LF_EM4X50_WRITE, (uint8_t *)&etd, sizeof(etd));
|
||||||
|
|
||||||
|
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
||||||
|
@ -708,7 +710,7 @@ int CmdEM4x50WritePassword(const char *Cmd) {
|
||||||
return usage_lf_em4x50_write_password();
|
return usage_lf_em4x50_write_password();
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_LF_EM4X50_WRITE_PASSWORD, 0, 0, 0, &etd, sizeof(etd));
|
SendCommandNG(CMD_LF_EM4X50_WRITE_PASSWORD, (uint8_t *)&etd, sizeof(etd));
|
||||||
|
|
||||||
if (!WaitForResponse(CMD_ACK, &resp)) {
|
if (!WaitForResponse(CMD_ACK, &resp)) {
|
||||||
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
PrintAndLogEx(WARNING, "\n timeout while waiting for reply.\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue