1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // High frequency commands
9 //-----------------------------------------------------------------------------
15 #include "cmdparser.h"
20 #include "cmdhflegic.h"
21 #include "cmdhficlass.h"
24 static int CmdHelp(const char *Cmd
);
26 int CmdHFTune(const char *Cmd
)
28 UsbCommand c
={CMD_MEASURE_ANTENNA_TUNING_HF
};
33 static command_t CommandTable
[] =
35 {"help", CmdHelp
, 1, "This help"},
36 {"14a", CmdHF14A
, 1, "{ ISO14443A RFIDs... }"},
37 {"14b", CmdHF14B
, 1, "{ ISO14443B RFIDs... }"},
38 {"15", CmdHF15
, 1, "{ ISO15693 RFIDs... }"},
39 {"legic", CmdHFLegic
, 0, "{ LEGIC RFIDs... }"},
40 {"iclass", CmdHFiClass
, 1, "{ ICLASS RFIDs... }"},
41 {"mf", CmdHFMF
, 1, "{ MIFARE RFIDs... }"},
42 {"tune", CmdHFTune
, 0, "Continuously measure HF antenna tuning"},
46 int CmdHF(const char *Cmd
)
48 CmdsParse(CommandTable
, Cmd
);
52 int CmdHelp(const char *Cmd
)
54 CmdsHelp(CommandTable
);