lf ti write - now uses NG, cliparser (untested)

This commit is contained in:
iceman1001
2020-11-29 14:00:51 +01:00
parent 26f7aa4cee
commit 2fcd46f278
4 changed files with 47 additions and 17 deletions

View File

@@ -101,7 +101,7 @@ static int CmdIdteckDemod(const char *Cmd) {
return demodIdteck(true);
}
static int CmdIdteckRead(const char *Cmd) {
static int CmdIdteckReader(const char *Cmd) {
CLIParserContext *ctx;
CLIParserInit(&ctx, "lf idteck reader",
"read a Idteck tag",
@@ -126,9 +126,9 @@ static int CmdIdteckRead(const char *Cmd) {
}
static command_t CommandTable[] = {
{"help", CmdHelp, AlwaysAvailable, "This help"},
{"demod", CmdIdteckDemod, AlwaysAvailable, "Demodulate an Idteck tag from the GraphBuffer"},
{"read", CmdIdteckRead, IfPm3Lf, "Attempt to read and Extract tag data from the antenna"},
{"help", CmdHelp, AlwaysAvailable, "This help"},
{"demod", CmdIdteckDemod, AlwaysAvailable, "Demodulate an Idteck tag from the GraphBuffer"},
{"reader", CmdIdteckReader, IfPm3Lf, "Attempt to read and Extract tag data from the antenna"},
{NULL, NULL, NULL, NULL}
};