]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhflegic.c
CHG: Small steps, the waiting time between frames was unclear. At least now the...
[proxmark3-svn] / client / cmdhflegic.c
index c9b10eaf97c1a77dab15299f87c20f5938a3ac77..31d5900548c6bf01a2682c97cb2a664aabecdeaf 100644 (file)
@@ -415,22 +415,18 @@ int CmdLegicRFRead(const char *Cmd) {
        clearCommandBuffer();
        SendCommand(&c);
        UsbCommand resp;
-       if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) {
+       if (WaitForResponseTimeout(CMD_ACK, &resp, 2000)) {
                uint8_t isOK = resp.arg[0] & 0xFF;
                uint16_t len = resp.arg[1] & 0x3FF;
                if ( isOK ) {
-                       PrintAndLog("OK : %d", isOK);
                        PrintAndLog("use 'hf legic decode' or");
                        PrintAndLog("'data hexsamples %d' to view results", len);       
+                       
                }
        } else {
                PrintAndLog("command execution time out");
                return 1;
        }
-
-       //uint8_t got[12000];
-       //GetFromBigBuf(got,sizeof(got),0);
-       //WaitForResponse(CMD_ACK,NULL);
        return 0;
 }
 
Impressum, Datenschutz