Wireshark dissector for Pro DJ Link protocol
3
fork

Configure Feed

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

parse arg1 of more messages as a DMST

Stella 1af06021 059e62d5

+40 -1
+40 -1
pro_dj_link.lua
··· 415 415 -- Label for specific arguments based on message type 416 416 function get_arg_label(msg_type, arg_idx, val) 417 417 -- Many request types have DMST as the first argument 418 - if arg_idx == 1 and (msg_type == 0x1000 or 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 == 0x2102 or msg_type == 0x2904 or msg_type == 0x2c04 or msg_type == 0x3e03 or msg_type == 0x3007 or msg_type == 0x3100) then 418 + if arg_idx == 1 and ( 419 + msg_type == 0x1000 or -- Root Menu 420 + msg_type == 0x1001 or -- Genre Menu 421 + msg_type == 0x1002 or -- Artist Menu 422 + msg_type == 0x1003 or -- Album Menu 423 + msg_type == 0x1004 or -- Track Menu 424 + msg_type == 0x1006 or -- BPM Menu 425 + msg_type == 0x1007 or -- Rating Menu 426 + msg_type == 0x1008 or -- Year Menu 427 + msg_type == 0x100a or -- Label Menu 428 + msg_type == 0x100d or -- Color Menu 429 + msg_type == 0x1010 or -- Time Menu 430 + msg_type == 0x1011 or -- Bitrate Menu 431 + msg_type == 0x1012 or -- History Menu 432 + msg_type == 0x1013 or -- Filename Menu 433 + msg_type == 0x1014 or -- Key Menu 434 + msg_type == 0x1101 or -- ArtistsForGenre 435 + msg_type == 0x1102 or -- AlbumsForArtist 436 + msg_type == 0x1103 or -- GetTrackList 437 + msg_type == 0x1105 or -- GetTrackCount 438 + msg_type == 0x1106 or -- BPM Distances 439 + msg_type == 0x1114 or -- DistancesForKey 440 + msg_type == 0x1206 or -- TracksForBpmRange 441 + msg_type == 0x1214 or -- TracksNearKey 442 + msg_type == 0x1300 or -- Search 443 + msg_type == 0x1301 or -- TracksForGenreArtistAlbum 444 + msg_type == 0x2002 or -- GetMetadata 445 + msg_type == 0x2003 or -- GetArtwork 446 + msg_type == 0x2004 or -- GetWaveformPreview 447 + msg_type == 0x2102 or -- GetTrackStreamingReq 448 + msg_type == 0x2104 or -- GetCuePoints 449 + msg_type == 0x2204 or -- GetBeatGrid 450 + msg_type == 0x2904 or -- GetWaveformDetail 451 + msg_type == 0x2b04 or -- GetExtCuePoints 452 + msg_type == 0x2c04 or -- GetAnalysisTag 453 + msg_type == 0x3000 or -- RenderMenu 454 + msg_type == 0x3007 or -- SetupBrowseContext 455 + msg_type == 0x3100 or -- TrackLoadNotification 456 + msg_type == 0x3e03 -- GetCapabilities 457 + ) then 419 458 return "DMST" 420 459 end 421 460