From a930542b0a47f298f172aff7afe4dd8e2595a17b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 20 Mar 2016 19:34:34 +0100 Subject: [PATCH] FIX: the lua script hf_reader.lua now works with 14B tags. --- client/lualibs/hf_reader.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/client/lualibs/hf_reader.lua b/client/lualibs/hf_reader.lua index e75c0ff7..bee6cb9c 100644 --- a/client/lualibs/hf_reader.lua +++ b/client/lualibs/hf_reader.lua @@ -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 ------------------------------------------------------- -- 2.39.5