mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-14 00:53:12 +08:00
fix paradox sim compilation...
This commit is contained in:
parent
5e4243e5a1
commit
f1b36c0b5a
1 changed files with 9 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
|||
#include "cmdlf.h"
|
||||
#include "lfdemod.h"
|
||||
static int CmdHelp(const char *Cmd);
|
||||
|
||||
/*
|
||||
static int usage_lf_paradox_sim(void) {
|
||||
PrintAndLogEx(NORMAL, "Enables simulation of Paradox card with specified card number.");
|
||||
PrintAndLogEx(NORMAL, "Simulation runs until the button is pressed or another USB command is issued.");
|
||||
|
@ -38,6 +38,7 @@ static int usage_lf_paradox_sim(void) {
|
|||
PrintAndLogEx(NORMAL, " lf paradox sim 123 11223");
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
*/
|
||||
|
||||
//by marshmellow
|
||||
//Paradox Prox demod - FSK2a RF/50 with preamble of 00001111 (then manchester encoded)
|
||||
|
@ -111,8 +112,12 @@ static int CmdParadoxRead(const char *Cmd) {
|
|||
return CmdParadoxDemod(Cmd);
|
||||
}
|
||||
|
||||
static int CmdParadoxSim(const char *Cmd) {
|
||||
|
||||
static int CmdParadoxSim(const char *Cmd) {
|
||||
PrintAndLogEx(INFO," To be implemented, feel free to contribute!");
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
/*
|
||||
char cmdp = tolower(param_getchar(Cmd, 0));
|
||||
if (strlen(Cmd) == 0 || cmdp == 'h') return usage_lf_paradox_sim();
|
||||
|
||||
|
@ -155,13 +160,13 @@ static int CmdParadoxSim(const char *Cmd) {
|
|||
return resp.status;
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
*/
|
||||
static command_t CommandTable[] = {
|
||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||
{"demod", CmdParadoxDemod, AlwaysAvailable, "Demodulate a Paradox FSK tag from the GraphBuffer"},
|
||||
{"read", CmdParadoxRead, IfPm3Lf, "Attempt to read and Extract tag data from the antenna"},
|
||||
// {"clone", CmdParadoxClone, IfPm3Lf, "clone paradox tag"},
|
||||
// {"sim", CmdParadoxSim, IfPm3Lf, "simulate paradox tag"},
|
||||
{"sim", CmdParadoxSim, IfPm3Lf, "simulate paradox tag"},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue