]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfepa.c
ADD: started to add a lua script for reading 14b tags, will help when making scripts...
[proxmark3-svn] / client / cmdhfepa.c
index 68176bf664996217ead1413ae57940f99d0709e5..179de05d223483da6e5a15d5e52d77ae113c8589 100644 (file)
@@ -81,7 +81,7 @@ int CmdHFEPAPACEReplay(const char *Cmd)
        uint8_t *apdus[] = {msesa_apdu, gn_apdu, map_apdu, pka_apdu, ma_apdu};
 
        // usage message
-       static const char const *usage_msg =
+       static const char *usage_msg =
                "Please specify 5 APDUs separated by spaces. "
                "Example:\n preplay 0022C1A4 1068000000 1086000002 1234ABCDEF 1A2B3C4D";
 
@@ -178,8 +178,7 @@ int CmdHFEPAPACEReplay(const char *Cmd)
 
 // UI-related stuff
 
-static const command_t CommandTable[] =
-{
+static const command_t CommandTable[] = {
   {"help",    CmdHelp,                   1, "This help"},
   {"cnonces", CmdHFEPACollectPACENonces, 0,
               "<m> <n> <d> Acquire n>0 encrypted PACE nonces of size m>0 with d sec pauses"},
@@ -188,18 +187,15 @@ static const command_t CommandTable[] =
   {NULL, NULL, 0, NULL}
 };
 
-int CmdHelp(const char *Cmd)
-{
+int CmdHelp(const char *Cmd) {
   CmdsHelp(CommandTable);
   return 0;
 }
 
-int CmdHFEPA(const char *Cmd)
-{
+int CmdHFEPA(const char *Cmd) {
        // flush
        clearCommandBuffer();
        //WaitForResponseTimeout(CMD_ACK,NULL,100);
-
        // parse
        CmdsParse(CommandTable, Cmd);
        return 0;
Impressum, Datenschutz