]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhflegic.c
client/cmdparser.c: Cosmetic changes.
[proxmark3-svn] / client / cmdhflegic.c
CommitLineData
7fe9b0b7 1#include "proxusb.h"
2#include "cmdparser.h"
3#include "cmdhflegic.h"
4
5static int CmdHelp(const char *Cmd);
6
7int CmdLegicRFRead(const char *Cmd)
8{
9 UsbCommand c = {CMD_READER_LEGIC_RF};
10 SendCommand(&c);
11 return 0;
12}
13
14static command_t CommandTable[] =
15{
16 {"help", CmdHelp, 1, "This help"},
17 {"reader", CmdLegicRFRead, 0, "Start the LEGIC RF reader"},
18 {NULL, NULL, 0, NULL}
19};
20
21int CmdHFLegic(const char *Cmd)
22{
23 CmdsParse(CommandTable, Cmd);
24 return 0;
25}
26
27int CmdHelp(const char *Cmd)
28{
29 CmdsHelp(CommandTable);
30 return 0;
31}
Impressum, Datenschutz