]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhf.c
36a9eca504e78ccdc915693eb462b3d73b5c59f0
[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 {"legic", CmdHFLegic, 0, "{ LEGIC RFIDs... }"},
29 {NULL, NULL, 0, NULL}
30 };
31
32 int CmdHF(const char *Cmd)
33 {
34 CmdsParse(CommandTable, Cmd);
35 return 0;
36 }
37
38 int CmdHelp(const char *Cmd)
39 {
40 CmdsHelp(CommandTable);
41 return 0;
42 }
Impressum, Datenschutz