rename few CMD_* to get some less diversity

This commit is contained in:
Philippe Teuwen 2019-08-03 19:17:00 +02:00
commit a0a232a985
71 changed files with 687 additions and 687 deletions

View file

@ -67,7 +67,7 @@ static int CmdIOProxRead_device(const char *Cmd) {
if (Cmd[0] == 'h' || Cmd[0] == 'H') return usage_lf_io_read();
int findone = (Cmd[0] == '1') ? 1 : 0;
clearCommandBuffer();
SendCommandMIX(CMD_IO_DEMOD_FSK, findone, 0, 0, NULL, 0);
SendCommandMIX(CMD_LF_IO_DEMOD, findone, 0, 0, NULL, 0);
return PM3_SUCCESS;
}
*/
@ -214,11 +214,11 @@ static int CmdIOProxSim(const char *Cmd) {
memcpy(payload->data, bs, sizeof(bs));
clearCommandBuffer();
SendCommandNG(CMD_FSK_SIM_TAG, (uint8_t *)payload, sizeof(lf_fsksim_t) + sizeof(bs));
SendCommandNG(CMD_LF_FSK_SIMULATE, (uint8_t *)payload, sizeof(lf_fsksim_t) + sizeof(bs));
free(payload);
PacketResponseNG resp;
WaitForResponse(CMD_FSK_SIM_TAG, &resp);
WaitForResponse(CMD_LF_FSK_SIMULATE, &resp);
PrintAndLogEx(INFO, "Done");
if (resp.status != PM3_EOPABORTED)
@ -263,7 +263,7 @@ static int CmdIOProxClone(const char *Cmd) {
print_blocks(blocks, 3);
clearCommandBuffer();
SendCommandMIX(CMD_IO_CLONE_TAG, blocks[1], blocks[2], 0, NULL, 0);
SendCommandMIX(CMD_LF_IO_CLONE, blocks[1], blocks[2], 0, NULL, 0);
return PM3_SUCCESS;
}