]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhf.c
Added command to read PCF7931 125Khz LF tags. This is a beta version which needs...
[proxmark3-svn] / client / cmdhf.c
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3 //
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
6 // the license.
7 //-----------------------------------------------------------------------------
8 // High frequency commands
9 //-----------------------------------------------------------------------------
10
11 #include <stdio.h>
12 #include "proxusb.h"
13 #include "graph.h"
14 #include "ui.h"
15 #include "cmdparser.h"
16 #include "cmdhf.h"
17 #include "cmdhf14a.h"
18 #include "cmdhf14b.h"
19 #include "cmdhf15.h"
20 #include "cmdhfepa.h"
21 #include "cmdhflegic.h"
22 #include "cmdhficlass.h"
23 #include "cmdhfmf.h"
24
25 static int CmdHelp(const char *Cmd);
26
27 int CmdHFTune(const char *Cmd)
28 {
29 UsbCommand c={CMD_MEASURE_ANTENNA_TUNING_HF};
30 SendCommand(&c);
31 return 0;
32 }
33
34 static command_t CommandTable[] =
35 {
36 {"help", CmdHelp, 1, "This help"},
37 {"14a", CmdHF14A, 1, "{ ISO14443A RFIDs... }"},
38 {"14b", CmdHF14B, 1, "{ ISO14443B RFIDs... }"},
39 {"15", CmdHF15, 1, "{ ISO15693 RFIDs... }"},
40 {"epa", CmdHFEPA, 1, "{ German Identification Card... }"},
41 {"legic", CmdHFLegic, 0, "{ LEGIC RFIDs... }"},
42 {"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
43 {"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
44 {"tune", CmdHFTune, 0, "Continuously measure HF antenna tuning"},
45 {NULL, NULL, 0, NULL}
46 };
47
48 int CmdHF(const char *Cmd)
49 {
50 CmdsParse(CommandTable, Cmd);
51 return 0;
52 }
53
54 int CmdHelp(const char *Cmd)
55 {
56 CmdsHelp(CommandTable);
57 return 0;
58 }
Impressum, Datenschutz