remove CMD_LF_SIMULATE_BIDIR, never implemented

This commit is contained in:
iceman1001 committed 2026-08-29 17:38:41 +02:00
1 parent 026a1c7648
commit a0a3eb4bbf
9 files changed
+7 -59

No files matched your search

+6 -20
View File
@@ -455,27 +455,13 @@ static int CmdHFCryptoRFELoad(const char *Cmd) {
return PM3_EFILE;
}
PrintAndLogEx(SUCCESS, "Uploading to emulator memory");
uint32_t bytes_sent = 0;
/*
//Send to device
uint32_t bytes_remaining = bytes_read;
while (bytes_remaining > 0) {
uint32_t bytes_in_packet = MIN(PM3_CMD_DATA_SIZE, bytes_remaining);
if (bytes_in_packet == bytes_remaining) {
// Disable fast mode on last packet
g_conn.block_after_ACK = false;
}
clearCommandBuffer();
// NOTE: CMD_HF_CRYPTORF_EML_MEMSET has no device handler; needs one plus an NG payload if revived
bytes_remaining -= bytes_in_packet;
bytes_sent += bytes_in_packet;
}
*/
// ICEMAN: Once we have CryptoRF dump files, we can implement an upload
PrintAndLogEx(INFO, "to be implemented");
//PrintAndLogEx(SUCCESS, "Uploading to emulator memory");
//uint32_t bytes_sent = 0;
free(data);
PrintAndLogEx(SUCCESS, "sent " _YELLOW_("%d") " bytes of data to device emulator memory", bytes_sent);
//PrintAndLogEx(SUCCESS, "sent " _YELLOW_("%d") " bytes of data to device emulator memory", bytes_sent);
return PM3_SUCCESS;
}
-23
View File
@@ -1513,28 +1513,6 @@ int CmdLFpskSim(const char *Cmd) {
return lfsim_wait_check(CMD_LF_PSK_SIMULATE);
}
int CmdLFSimBidir(const char *Cmd) {
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf simbidir",
"Simulate LF tag with bidirectional data transmission between reader and tag",
"lf simbidir"
);
void *argtable[] = {
arg_param_begin,
arg_param_end
};
CLIExecWithReturn(ctx, Cmd, argtable, true);
CLIParserFree(ctx);
// Set ADC to twice the carrier for a slight supersampling
// HACK: not implemented in ARMSRC.
PrintAndLogEx(INFO, "Not implemented yet.");
// SendCommandNG(CMD_LF_SIMULATE_BIDIR, NULL, 0); // needs an NG payload if revived
return PM3_SUCCESS;
}
// ICEMAN, Verichip is Animal tag. Tested against correct reader
/*
@@ -2431,7 +2409,6 @@ static command_t CommandTable[] = {
{"simfsk", CmdLFfskSim, IfPm3Lf, "Simulate " _YELLOW_("FSK") " tag"},
{"simpsk", CmdLFpskSim, IfPm3Lf, "Simulate " _YELLOW_("PSK") " tag"},
// {"simnrz", CmdLFnrzSim, IfPm3Lf, "Simulate " _YELLOW_("NRZ") " tag"},
{"simbidir", CmdLFSimBidir, IfPm3Lf, "Simulate LF tag (with bidirectional data transmission between reader and tag)"},
{"sniff", CmdLFSniff, IfPm3Lf, "Sniff LF traffic between reader and tag"},
{"tune", CmdLFTune, IfPm3Lf, "Continuously measure LF antenna tuning"},
// {"vchdemod", CmdVchDemod, AlwaysAvailable, "Demodulate samples for VeriChip"},
-1
View File
@@ -35,7 +35,6 @@ int CmdLFSim(const char *Cmd);
int CmdLFaskSim(const char *Cmd);
int CmdLFfskSim(const char *Cmd);
int CmdLFpskSim(const char *Cmd);
int CmdLFSimBidir(const char *Cmd);
int CmdLFSniff(const char *Cmd);
int CmdVchDemod(const char *Cmd);
int CmdLFfind(const char *Cmd);