]> git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhf.c
7e3a662b9fe546a5ef559bb4a0de9db4e9582288
[proxmark3-svn] / client / cmdhf.c
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
12 static int CmdHelp(const char *Cmd);
13
14 int CmdHFTune(const char *Cmd)
15 {
16 UsbCommand c={CMD_MEASURE_ANTENNA_TUNING_HF};
17 SendCommand(&c);
18 return 0;
19 }
20
21 static 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
31 int CmdHF(const char *Cmd)
32 {
33 CmdsParse(CommandTable, Cmd);
34 return 0;
35 }
36
37 int CmdHelp(const char *Cmd)
38 {
39 CmdsHelp(CommandTable);
40 return 0;
41 }
Impressum, Datenschutz