Merge pull request #162 from marshmellow42/CoverityFixes
[legacy-proxmark3.git] / client / scripts / hf_read.lua
blob82655a3641f45414b1fdb734be49a4d728d74c4d
1 local reader = require('hf_reader')
3 local function main(args)
4 print("WORK IN PROGRESS - not expected to be functional yet")
5 info, err = reader.waitForTag()
7 if err then
8 print(err)
9 return
10 end
11 local k,v
12 print("Tag info")
13 for k,v in pairs(info) do
14 print(string.format(" %s : %s", tostring(k), tostring(v)))
15 end
16 return
17 end
18 main(args)