hf mf/mfu dbg => hw dbg
This commit is contained in:
@@ -551,7 +551,7 @@ local function selftest()
|
||||
print ('VALID KEY :: 29564af75805')
|
||||
end
|
||||
local function setdevicedebug( status )
|
||||
local c = 'hf mf dbg '
|
||||
local c = 'hw dbg '
|
||||
if status then
|
||||
c = c..'1'
|
||||
else
|
||||
|
||||
@@ -185,7 +185,7 @@ end
|
||||
local function write_tag(uid, t)
|
||||
|
||||
print('Writing to tag')
|
||||
core.console('hf mf dbg 0')
|
||||
core.console('hw dbg 0')
|
||||
utils.Sleep(0.5)
|
||||
|
||||
local cmd = ''
|
||||
@@ -203,7 +203,7 @@ local function write_tag(uid, t)
|
||||
--dynamic
|
||||
core.console(('hf mfu wrbl b 40 d %s k %08X'):format(t[40], pwd))
|
||||
|
||||
core.console('hf mf dbg 1')
|
||||
core.console('hw dbg 1')
|
||||
utils.Sleep(0.5)
|
||||
print('Done')
|
||||
end
|
||||
|
||||
@@ -128,7 +128,7 @@ local function main(args)
|
||||
end
|
||||
|
||||
-- Turn off Debug
|
||||
local cmdSetDbgOff = "hf mf dbg 0"
|
||||
local cmdSetDbgOff = "hw dbg 0"
|
||||
core.console( cmdSetDbgOff)
|
||||
utils.Sleep(0.5)
|
||||
|
||||
|
||||
@@ -368,7 +368,7 @@ local function main(args)
|
||||
end
|
||||
|
||||
-- Turn off Debug
|
||||
local cmdSetDbgOff = 'hf mf dbg 0'
|
||||
local cmdSetDbgOff = 'hw dbg 0'
|
||||
core.console( cmdSetDbgOff)
|
||||
utils.Sleep(0.5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user