X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/05beaa8dd8fbd3d460616176cf5d222fa4929583..0de8e3874d6524379550a50a4d9c29faf2d239ea:/client/lualibs/commands.lua?ds=inline diff --git a/client/lualibs/commands.lua b/client/lualibs/commands.lua index fdc2b18d..96805e43 100644 --- a/client/lualibs/commands.lua +++ b/client/lualibs/commands.lua @@ -56,7 +56,8 @@ local _commands = { CMD_ASK_SIM_TAG = 0x021F, CMD_PSK_SIM_TAG = 0x0220, CMD_AWID_DEMOD_FSK = 0x0221, - + CMD_VIKING_CLONE_TAG = 0x0222, + --/* CMD_SET_ADC_MUX: ext1 is 0 for lopkd, 1 for loraw, 2 for hipkd, 3 for hiraw */ --// For the 13.56 MHz tags @@ -198,7 +199,7 @@ Command = { return o end, parse = function(packet) - local count, cmd, arg1, arg2, arg3, data = bin.unpack('LLLLH512', packet) + local count, cmd, arg1, arg2, arg3, data = bin.unpack('LLLLH511', packet) return Command:new{cmd = cmd, arg1 = arg1, arg2 = arg2, arg3 = arg3, data = data} end