]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdhf.c
fix warning: implicit declaration of function ‘exit’
[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 {"legic", CmdHFLegic, 0, "{ LEGIC RFIDs... }"},
28 {"tune", CmdHFTune, 0, "Continuously measure HF antenna tuning"},
29 {NULL, NULL, 0, NULL}
30};
31
32int CmdHF(const char *Cmd)
33{
34 CmdsParse(CommandTable, Cmd);
35 return 0;
36}
37
38int CmdHelp(const char *Cmd)
39{
40 CmdsHelp(CommandTable);
41 return 0;
42}
Impressum, Datenschutz