mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
ADD: Enio's intuative function for the command: "hw tune", where you plot the tuning-data :)
ADD: added optional parameter to "hw tune" to show graf direct. Sample usage: "hw tune p"
This commit is contained in:
parent
06b58a94f0
commit
02306bac2d
4 changed files with 39 additions and 4 deletions
|
@ -15,6 +15,7 @@
|
|||
#include "ui.h"
|
||||
#include "proxmark3.h"
|
||||
#include "cmdparser.h"
|
||||
#include "cmddata.h"
|
||||
#include "cmdhw.h"
|
||||
#include "cmdmain.h"
|
||||
|
||||
|
@ -392,6 +393,20 @@ int CmdTune(const char *Cmd)
|
|||
{
|
||||
UsbCommand c = {CMD_MEASURE_ANTENNA_TUNING};
|
||||
SendCommand(&c);
|
||||
|
||||
char cmdp = param_getchar(Cmd, 0);
|
||||
if (cmdp == 'h' || cmdp == 'H') {
|
||||
PrintAndLog("Usage: hw tune <p>");
|
||||
PrintAndLog("");
|
||||
PrintAndLog(" sample: hw tune");
|
||||
PrintAndLog(" hw tune p");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ( cmdp == 'p' || cmdp == 'P'){
|
||||
ShowGraphWindow();
|
||||
CmdTuneSamples("");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue