]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdhf.c
integrated MIFARE ultralight features, contributed by 'midnitesnake'
[proxmark3-svn] / client / cmdhf.c
... / ...
CommitLineData
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 "proxmark3.h"
14#include "graph.h"
15#include "ui.h"
16#include "cmdparser.h"
17#include "cmdhf.h"
18#include "cmdhf14a.h"
19#include "cmdhf14b.h"
20#include "cmdhf15.h"
21#include "cmdhfepa.h"
22#include "cmdhflegic.h"
23#include "cmdhficlass.h"
24#include "cmdhfmf.h"
25
26static int CmdHelp(const char *Cmd);
27
28int CmdHFTune(const char *Cmd)
29{
30 UsbCommand c={CMD_MEASURE_ANTENNA_TUNING_HF};
31 SendCommand(&c);
32 return 0;
33}
34
35static command_t CommandTable[] =
36{
37 {"help", CmdHelp, 1, "This help"},
38 {"14a", CmdHF14A, 1, "{ ISO14443A RFIDs... }"},
39 {"14b", CmdHF14B, 1, "{ ISO14443B RFIDs... }"},
40 {"15", CmdHF15, 1, "{ ISO15693 RFIDs... }"},
41 {"epa", CmdHFEPA, 1, "{ German Identification Card... }"},
42 {"legic", CmdHFLegic, 0, "{ LEGIC RFIDs... }"},
43 {"iclass", CmdHFiClass, 1, "{ ICLASS RFIDs... }"},
44 {"mf", CmdHFMF, 1, "{ MIFARE RFIDs... }"},
45 {"tune", CmdHFTune, 0, "Continuously measure HF antenna tuning"},
46 {NULL, NULL, 0, NULL}
47};
48
49int CmdHF(const char *Cmd)
50{
51 CmdsParse(CommandTable, Cmd);
52 return 0;
53}
54
55int CmdHelp(const char *Cmd)
56{
57 CmdsHelp(CommandTable);
58 return 0;
59}
Impressum, Datenschutz