lf t55xx write - now uses cliparser
This commit is contained in:
@@ -20,7 +20,7 @@ The outlined procedure is as following:
|
||||
-- manchester
|
||||
-- bit rate
|
||||
|
||||
"lf t55xx write b 0 d 00008040"
|
||||
"lf t55xx write -b 0 -d 00008040"
|
||||
"lf t55xx detect"
|
||||
"lf t55xx info"
|
||||
|
||||
@@ -118,7 +118,7 @@ local function test()
|
||||
elseif _ == 1 then
|
||||
|
||||
local config = pcmd:format(config1, y, config2)
|
||||
dbg(('lf t55xx write b 0 d %s'):format(config))
|
||||
dbg(('lf t55xx write -b 0 -d %s'):format(config))
|
||||
local data = ('%s%s%s%s'):format(utils.SwapEndiannessStr(config, 32), password, block, flags)
|
||||
|
||||
local wc = Command:newNG{cmd = cmds.CMD_LF_T55XX_WRITEBL, data = data}
|
||||
|
||||
Reference in New Issue
Block a user