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 //-----------------------------------------------------------------------------
12 //#include "proxusb.h"
13 #include "proxmark3.h"
16 #include "cmdparser.h"
22 #include "cmdhflegic.h"
23 #include "cmdhficlass.h"
26 #include "cmdhfmfdes.h"
29 static int CmdHelp(const char *Cmd
);
31 int CmdHFTune(const char *Cmd
)
33 UsbCommand c
={CMD_MEASURE_ANTENNA_TUNING_HF
};
38 static command_t CommandTable
[] =
40 {"help", CmdHelp
, 1, "This help"},
41 {"14a", CmdHF14A
, 1, "{ ISO14443A RFIDs... }"},
42 {"14b", CmdHF14B
, 1, "{ ISO14443B RFIDs... }"},
43 {"15", CmdHF15
, 1, "{ ISO15693 RFIDs... }"},
44 {"epa", CmdHFEPA
, 1, "{ German Identification Card... }"},
45 {"legic", CmdHFLegic
, 0, "{ LEGIC RFIDs... }"},
46 {"iclass", CmdHFiClass
, 1, "{ ICLASS RFIDs... }"},
47 {"mf", CmdHFMF
, 1, "{ MIFARE RFIDs... }"},
48 {"mfu", CmdHFMFUltra
, 1, "{ MIFARE Ultralight RFIDs... }"},
49 {"mfdes", CmdHFMFDes
, 1, "{ MIFARE Desfire RFIDs... }"},
50 {"des", CmdHFDES
, 0, "{ MIFARE DESfire}"},
51 {"tune", CmdHFTune
, 0, "Continuously measure HF antenna tuning"},
55 int CmdHF(const char *Cmd
)
57 CmdsParse(CommandTable
, Cmd
);
61 int CmdHelp(const char *Cmd
)
63 CmdsHelp(CommandTable
);