|
@@ -234,7 +234,7 @@ end
|
|
|
|
|
|
require("hm_dissector")
|
|
|
|
|
|
- data = HM_dissector(buffer, pinfo, tree, TC_TM_PROTOCOL, offset)
|
|
|
+ data = HM_TC_dissector(buffer, pinfo, tree, TC_TM_PROTOCOL, offset)
|
|
|
offset = offset + tc_len
|
|
|
else
|
|
|
for i=0,tc_len - 1 do
|
|
@@ -438,12 +438,12 @@ function TM_dissector(buffer, pinfo, tree) -- OBC to GS
|
|
|
require("hm_dissector")
|
|
|
array = HM_TM_dissector(buffer, pinfo, tree, TC_TM_PROTOCOL, add, tm_len)
|
|
|
add = add + tm_len
|
|
|
- end
|
|
|
- if tm_id == 815 then
|
|
|
- require("bcon")
|
|
|
+ end
|
|
|
+ if tm_id == 815 then
|
|
|
+ require("bcon")
|
|
|
bcon_dissector(buffer, pinfo, tree, TC_TM_PROTOCOL, add, tm_len)
|
|
|
add = add + tm_len
|
|
|
- end
|
|
|
+ end
|
|
|
else
|
|
|
for i=0,magic-1 do
|
|
|
subtree:add(f_tm_data, buffer(add, 1):le_uint())
|
|
@@ -499,12 +499,12 @@ function TM_dissector(buffer, pinfo, tree) -- OBC to GS
|
|
|
info_display= {buffer(11, 2):le_uint(),buffer(7, 4):le_uint() ,tm_id, string, array[2], array[3]} --- for info display in wireshark
|
|
|
|
|
|
|
|
|
- pinfo.cols.info ="Seq_no = " ..info_display[1] .." TS = " ..info_display[2].." TM ID = "..info_display[3].." Module = "..info_display[4].." Queue id = "..info_display[5].." Number of instance = "..info_display[6] -- for info display in wireshark
|
|
|
+ pinfo.cols.info ="Seq_no = " ..info_display[1].." TS = " ..info_display[2].." TM ID = "..info_display[3].." Module = "..info_display[4].." Queue id = "..info_display[5].." Number of instance = "..info_display[6] -- for info display in wireshark
|
|
|
else
|
|
|
info_display= {buffer(11, 2):le_uint(),buffer(7, 4):le_uint() ,tm_id} --- for info display in wireshark
|
|
|
-
|
|
|
+
|
|
|
|
|
|
- pinfo.cols.info ="Seq_no = " ..info_display[1] .." TS = " ..info_display[2].." TM ID = "..info_display[3] -- for info display in wireshark
|
|
|
+ pinfo.cols.info ="Seq_no = " ..info_display[1].." TS = " ..info_display[2].." TM ID = "..info_display[3] -- for info display in wireshark
|
|
|
end
|
|
|
-- Check if the buffer contains enough data for the expected total length
|
|
|
--if buffer:len() < 38 + buffer(21, 2):uint() then
|