]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfnedap.c
ADD: 'script run hard_autopwn' - a lua script which should run hardnested attack...
[proxmark3-svn] / client / cmdlfnedap.c
index ab34d8ff8cbc1fa5da7fac7c48a1db68d2fa8ddd..eeb0793918d749fd8e6fd3e0ae1c62215440ca40 100644 (file)
@@ -202,7 +202,7 @@ lf t55xx wr b 4 d 4c0003ff
 
 int CmdLFNedapRead(const char *Cmd) {
        CmdLFRead("s");
 
 int CmdLFNedapRead(const char *Cmd) {
        CmdLFRead("s");
-       getSamples("20000", TRUE);
+       getSamples("12000", TRUE);
        return CmdLFNedapDemod("");
 }
 /*
        return CmdLFNedapDemod("");
 }
 /*
@@ -254,7 +254,7 @@ int CmdLFNedapClone(const char *Cmd) {
                c.arg[1] = i;
                clearCommandBuffer();
                SendCommand(&c);
                c.arg[1] = i;
                clearCommandBuffer();
                SendCommand(&c);
-               if (!WaitForResponseTimeout(CMD_ACK, &resp, 1000)){
+               if (!WaitForResponseTimeout(CMD_ACK, &resp, T55XX_WRITE_TIMEOUT)){
                        PrintAndLog("Error occurred, device did not respond during write operation.");
                        return -1;
                }
                        PrintAndLog("Error occurred, device did not respond during write operation.");
                        return -1;
                }
Impressum, Datenschutz