]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdhf.c
Client cleanup and restructuring. Stage 1...
[proxmark3-svn] / client / cmdhf.c
... / ...
CommitLineData
1#include <stdio.h>
2#include "proxusb.h"
3#include "graph.h"
4#include "ui.h"
5#include "cmdparser.h"
6#include "cmdhf.h"
7#include "cmdhf14a.h"
8#include "cmdhf14b.h"
9#include "cmdhf15.h"
10#include "cmdhflegic.h"
11
12static int CmdHelp(const char *Cmd);
13
14int CmdHFTune(const char *Cmd)
15{
16 UsbCommand c={CMD_MEASURE_ANTENNA_TUNING_HF};
17 SendCommand(&c);
18 return 0;
19}
20
21static command_t CommandTable[] =
22{
23 {"help", CmdHelp, 1, "This help"},
24 {"14a", CmdHF14A, 1, "ISO14443A RFIDs"},
25 {"14b", CmdHF14B, 1, "ISO14443B RFIDs"},
26 {"15", CmdHF15, 1, "ISO15693 RFIDs"},
27 {"tune", CmdHFTune, 0, "Continuously measure HF antenna tuning"},
28 {NULL, NULL, 0, NULL}
29};
30
31int CmdHF(const char *Cmd)
32{
33 CmdsParse(CommandTable, Cmd);
34 return 0;
35}
36
37int CmdHelp(const char *Cmd)
38{
39 CmdsHelp(CommandTable);
40 return 0;
41}
Impressum, Datenschutz