Browse Source

add beacon name in wireshark pinfo

priyadharsan 3 months ago
parent
commit
12a82d9175
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Dissector/tc_tm_protocols.lua

+ 5 - 0
Dissector/tc_tm_protocols.lua

@@ -604,6 +604,11 @@ function TM_dissector(buffer, pinfo, tree)  -- OBC to GS
     string = "FTFCI FRAME"
     info_display= {buffer(11, 2):le_uint(),buffer(7, 4):le_uint() ,tm_id, string} --- for info display in wireshark
     pinfo.cols.info ="seq_no = " ..info_display[1] ..", TS = " ..info_display[2]..", TM_ID = "..info_display[3]..", " ..info_display[4] -- for info display in wireshark
+    
+    elseif tm_id == 815 then
+   string = "BEACON"
+    info_display= {buffer(11, 2):le_uint(),buffer(7, 4):le_uint() ,tm_id, string} --- for info display in wireshark
+    pinfo.cols.info ="seq_no = " ..info_display[1] ..", TS = " ..info_display[2]..", TM_ID = "..info_display[3]..", " ..info_display[4] -- 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