Some more tinkering with a generic 13.56MHz reader, still not finished

This commit is contained in:
martin.holst@gmail.com 2013-10-31 10:35:03 +00:00
commit e26df8425a
2 changed files with 48 additions and 24 deletions

View file

@ -0,0 +1,18 @@
local reader = require('hf_reader')
local function main(args)
print("WORK IN PROGRESS - not expected to be functional yet")
info, err = reader.waitForTag()
if err then
print(err)
return
end
local k,v
print("Tag info")
for k,v in pairs(info) do
print(string.format(" %s : %s", tostring(k), tostring(v)))
end
return
end
main(args)