hf mf/mfu dbg => hw dbg

This commit is contained in:
Philippe Teuwen
2019-06-06 11:31:47 +02:00
parent 4761ea13f7
commit 1a39ec3026
9 changed files with 37 additions and 37 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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)

View File

@@ -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)