hf iclass info - uses cliparser
This commit is contained in:
@@ -568,6 +568,17 @@ static int CmdHFiClassSim(const char *Cmd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int CmdHFiClassInfo(const char *Cmd) {
|
static int CmdHFiClassInfo(const char *Cmd) {
|
||||||
|
CLIParserContext *ctx;
|
||||||
|
CLIParserInit(&ctx, "hf iclass info",
|
||||||
|
"Act as a iCLASS reader. Reads / fingerprints a iCLASS tag.",
|
||||||
|
"hf iclass info");
|
||||||
|
|
||||||
|
void *argtable[] = {
|
||||||
|
arg_param_begin,
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
CLIParserFree(ctx);
|
||||||
return info_iclass();
|
return info_iclass();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user