Wireshark dissector for Pro DJ Link protocol
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

add DMST parsing

Stella b6d9e37a 4d881085

+4 -1
+4 -1
pro_dj_link.lua
··· 149 149 150 150 -- Label for specific arguments based on message type 151 151 function get_arg_label(msg_type, arg_idx, val) 152 - if arg_idx == 1 and (msg_type == 0x2002 or msg_type == 0x3000 or msg_type == 0x1105 or msg_type == 0x1103) then 152 + -- Many request types have DMST as the first argument 153 + if arg_idx == 1 and (msg_type == 0x2002 or msg_type == 0x3000 or msg_type == 0x1105 or msg_type == 0x1103 or msg_type == 0x2003 or msg_type == 0x2204 or msg_type == 0x2104 or msg_type == 0x2b04 or msg_type == 0x2004 or msg_type == 0x2904 or msg_type == 0x2c04) then 153 154 return "DMST" 154 155 end 155 156 ··· 173 174 return arg_idx == 1 and "Item Count" or nil 174 175 elseif msg_type == 0x4000 then -- Success/Ack 175 176 return arg_idx == 1 and "Request Type Echo" or (arg_idx == 2 and "Items Found" or nil) 177 + elseif msg_type == 0x4602 or msg_type == 0x4702 or msg_type == 0x4e02 or msg_type == 0x4a02 or msg_type == 0x4402 or msg_type == 0x4002 or msg_type == 0x4f02 then -- Blob Responses 178 + return arg_idx == 1 and "Request Type Echo" or (arg_idx == 3 and "Blob Length" or (arg_idx == 4 and "Blob Data" or nil)) 176 179 elseif msg_type == 0x3000 then -- RenderMenu 177 180 local labels = { 178 181 [1] = "DMST",