]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhftopaz.c
d747ed054fccbabc0dbe918f44953a8f5c2bc1c7
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2015 Piwi
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 Topaz (NFC Type 1) commands
9 //-----------------------------------------------------------------------------
16 #include "cmdparser.h"
17 #include "cmdhftopaz.h"
21 int CmdHFTopazReader(const char *Cmd
)
23 PrintAndLog("not yet implemented");
28 int CmdHFTopazSim(const char *Cmd
)
30 PrintAndLog("not yet implemented");
35 int CmdHFTopazCmdRaw(const char *Cmd
)
37 PrintAndLog("not yet implemented");
42 static int CmdHelp(const char *Cmd
);
45 static command_t CommandTable
[] =
47 {"help", CmdHelp
, 1, "This help"},
48 {"reader", CmdHFTopazReader
, 0, "Act like a Topaz reader"},
49 {"sim", CmdHFTopazSim
, 0, "<UID> -- Simulate Topaz tag"},
50 {"snoop", CmdHF14ASnoop
, 0, "Eavesdrop a Topaz reader-tag communication"},
51 {"raw", CmdHFTopazCmdRaw
, 0, "Send raw hex data to tag"},
56 int CmdHFTopaz(const char *Cmd
) {
58 WaitForResponseTimeout(CMD_ACK
,NULL
,100);
61 CmdsParse(CommandTable
, Cmd
);
65 static int CmdHelp(const char *Cmd
)
67 CmdsHelp(CommandTable
);