mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
add some verbosity
This commit is contained in:
parent
e8b742414e
commit
660858a02c
1 changed files with 4 additions and 0 deletions
|
@ -361,6 +361,10 @@ int CmdHFSniff(const char *Cmd) {
|
||||||
params.skipRatio = arg_get_int_def(ctx, 4, 0);
|
params.skipRatio = arg_get_int_def(ctx, 4, 0);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
|
if (params.skipMode != HF_SNOOP_SKIP_NONE)
|
||||||
|
PrintAndLogEx(INFO, "Skip mode. Function: %s, each: %d sample",
|
||||||
|
CLIGetOptionListStr(HFSnoopSkipModeOpts, params.skipMode), params.skipRatio * 2);
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_HF_SNIFF, (uint8_t *)¶ms, sizeof(params));
|
SendCommandNG(CMD_HF_SNIFF, (uint8_t *)¶ms, sizeof(params));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue