]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/lualibs/read14a.lua
CHG: the mifare Auth command can make use of a random nonce aswell.
[proxmark3-svn] / client / lualibs / read14a.lua
index 943a1722426d10fa8c951ebba6df0b57b458d7a2..5134fa94180f08ca477905a893c59c6f4cdc3bda 100644 (file)
@@ -78,7 +78,7 @@ end
 --                     nil, errormessage if unsuccessfull
 
 local function sendToDevice(command, ignoreresponse)
-       core.clearCommandBuffer()
+       --core.clearCommandBuffer(
        local err = core.SendCommand(command:getBytes())
        if err then
                print(err)
@@ -86,7 +86,7 @@ local function sendToDevice(command, ignoreresponse)
        end
        if ignoreresponse then return nil,nil end
 
-       local response = core.WaitForResponseTimeout(cmds.CMD_ACK,TIMEOUT)
+       local response = core.WaitForResponseTimeout(cmds.CMD_ACK, TIMEOUT)
        return response,nil
 end
 
Impressum, Datenschutz