]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlffdx.c
speedup 'hf mf chk' (#901)
[proxmark3-svn] / client / cmdlffdx.c
index 006ffd56e4eee88c8d4d7b8d9c5df88e60b45705..d0ac52c0feb7e7078373f06743b999c334b36129 100644 (file)
@@ -13,7 +13,7 @@
 #include <stdio.h>
 #include <inttypes.h>
 #include <string.h>
-#include "proxmark3.h"
+#include "comms.h"
 #include "ui.h"         // for PrintAndLog
 #include "util.h"
 #include "cmdparser.h"
@@ -58,7 +58,7 @@ int usage_lf_fdx_clone(void){
        // extended data
        PrintAndLog("      <Q5>        : Specify write to Q5 (t5555 instead of t55x7)");
        PrintAndLog("");
-       PrintAndLog("Sample: lf animal clone 999 112233");
+       PrintAndLog("Sample: lf fdx clone 999 112233");
        return 0;
 }
 
@@ -137,7 +137,7 @@ int CmdFdxDemod(const char *Cmd){
 
        //Differential Biphase / di-phase (inverted biphase)
        //get binary from ask wave
-       if (!ASKbiphaseDemod("0 32 1 0", false)) {
+       if (!ASKbiphaseDemod("0 32 1 100", false)) {
                if (g_debugMode) PrintAndLog("DEBUG: Error - FDX-B ASKbiphaseDemod failed");
                return 0;
        }
@@ -206,7 +206,7 @@ int CmdFdxDemod(const char *Cmd){
 }
 
 int CmdFdxRead(const char *Cmd) {
-       lf_read(true, 10000);
+       lf_read(true, 39999);
        return CmdFdxDemod(Cmd);
 }
 
Impressum, Datenschutz