Some more tinkering with a generic 13.56MHz reader, still not finished
This commit is contained in:
18
client/scripts/hf_read.lua
Normal file
18
client/scripts/hf_read.lua
Normal 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)
|
||||
Reference in New Issue
Block a user