]>
cvs.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 //-----------------------------------------------------------------------------
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
};
28 WaitForResponse(CMD_ACK
);
32 static command_t CommandTable
[] =
34 {"help", CmdHelp
, 1, "This help"},
35 {"read", CmdLFPCF7931Read
, 1, "Read content of a PCF7931 transponder"},
39 int CmdLFPCF7931(const char *Cmd
)
41 CmdsParse(CommandTable
, Cmd
);
45 int CmdHelp(const char *Cmd
)
47 CmdsHelp(CommandTable
);