laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/simtrace2/+/26984 )
Change subject: contrib/simtrace.lua: print length + slot-number in decimal only
......................................................................
contrib/simtrace.lua: print length + slot-number in decimal only
Change-Id: Ia9a969b88170c49f8bb1cb0cda6918d6a894d3ba
---
M contrib/simtrace.lua
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/84/26984/1
diff --git a/contrib/simtrace.lua b/contrib/simtrace.lua
index d05ff0a..c5bdafb 100644
--- a/contrib/simtrace.lua
+++ b/contrib/simtrace.lua
@@ -36,17 +36,17 @@
}
local msgtype = ProtoField.uint16("usb_simtrace.msgtype", "Message
Type", base.HEX_DEC, control_commands)
-local seqnr = ProtoField.uint8("usb_simtrace.seqnr", "Sequence
Number", base.HEX_DEC)
-local slotnr = ProtoField.uint8("usb_simtrace.slotnr", "Slot
Number", base.HEX_DEC)
+local seqnr = ProtoField.uint8("usb_simtrace.seqnr", "Sequence
Number", base.DEC)
+local slotnr = ProtoField.uint8("usb_simtrace.slotnr", "Slot
Number", base.DEC)
local reserved = ProtoField.uint16("usb_simtrace.reserved",
"reserved", base.HEX_DEC)
-local payloadlen = ProtoField.uint16("usb_simtrace.length",
"length", base.HEX_DEC)
+local payloadlen = ProtoField.uint16("usb_simtrace.length",
"length", base.DEC)
local payload = ProtoField.bytes("usb_simtrace.payload", "Data")
local pb_and_rx = ProtoField.uint32("usb_simtrace.pb_and_rx",
"pb_and_rx", base.HEX_DEC, NULL, 0x8)
local pb_and_tx = ProtoField.uint32("usb_simtrace.pb_and_tx",
"pb_and_tx", base.HEX_DEC, NULL, 0x4)
local final = ProtoField.uint32("usb_simtrace.final", "final",
base.HEX_DEC, NULL, 0x2)
local tpdu_hdr = ProtoField.uint32("usb_simtrace.tpdu_hdr",
"tpdu_hdr", base.HEX_DEC, NULL, 0x1)
-local rxtxdatalen = ProtoField.uint16("usb_simtrace.rxtxdatalen", "rx/tx
data length", base.HEX_DEC)
+local rxtxdatalen = ProtoField.uint16("usb_simtrace.rxtxdatalen", "rx/tx
data length", base.DEC)
local rxtxdata = ProtoField.bytes("usb_simtrace.rxtxdata", "rx/tx
(data)")
local CEMU_STATUS_F_VCC_PRESENT =
ProtoField.uint32("usb_simtrace.CEMU_STATUS.F_VCC_PRESENT",
"VCC_PRESENT", base.HEX_DEC, NULL, 0x00000001)
--
To view, visit
https://gerrit.osmocom.org/c/simtrace2/+/26984
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: Ia9a969b88170c49f8bb1cb0cda6918d6a894d3ba
Gerrit-Change-Number: 26984
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange