]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfpcf7931.c
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2012 Chalk <chalk.secu at gmail.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 // Low frequency PCF7931 commands
9 //-----------------------------------------------------------------------------
13 #include "proxmark3.h"
16 #include "cmdparser.h"
20 #include "cmdlfpcf7931.h"
22 static int CmdHelp(const char *Cmd
);
24 int CmdLFPCF7931Read(const char *Cmd
)
26 UsbCommand c
= {CMD_PCF7931_READ
};
29 WaitForResponse(CMD_ACK
,&resp
);
33 static command_t CommandTable
[] =
35 {"help", CmdHelp
, 1, "This help"},
36 {"read", CmdLFPCF7931Read
, 1, "Read content of a PCF7931 transponder"},
40 int CmdLFPCF7931(const char *Cmd
)
42 CmdsParse(CommandTable
, Cmd
);
46 int CmdHelp(const char *Cmd
)
48 CmdsHelp(CommandTable
);