]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: the lua script hf_reader.lua now works with 14B tags.
authoriceman1001 <iceman@iuse.se>
Sun, 20 Mar 2016 18:34:34 +0000 (19:34 +0100)
committericeman1001 <iceman@iuse.se>
Sun, 20 Mar 2016 18:34:34 +0000 (19:34 +0100)
client/lualibs/hf_reader.lua

index e75c0ff79eefa801a8d19f1a321eb7bbcc674460..bee6cb9c49534e3f942ca6bb6ef3d7dd3a0961ba 100644 (file)
@@ -5,8 +5,9 @@ This library utilises other libraries under the hood, but can be used as a gener
 ]]
 
 local reader14443A = require('read14a')
+local reader14443B = require('read14b')
 local cmds = require('commands')
-local TIMEOUT = 1000
+local TIMEOUT = 2000
 
 local function sendToDevice(command, ignoreresponse)
        core.clearCommandBuffer()
@@ -24,14 +25,9 @@ end
 -- This will be moved to a separate 14443B library
 -------------------------------------------------------
 
-local function read14443B()
-       return nil, "Not implemented"
-end
 local reader14443B = {
-       read = read14443B
+       read = reader14443B.read14443b()
 }      
-
-
 -------------------------------------------------------
 -- This will be moved to a separate 1593 library
 -------------------------------------------------------
Impressum, Datenschutz