-- Super basic NCOM dissector for Wireshark. You will need to have a copy of the latest 'wssdl.lua' -- from https://github.com/diacritic/wssdl -- Put the 'wssdl.lua' in the root folder of Wirshark and then put this file in '~\Wireshark\plugins\' -- and then run Wireshark (the latest versions of Wireshark will autoload the lua scripts) -- Last edit - 170202 - HH local wssdl = require 'wssdl' NCOM_packet = wssdl.packet { sync_byte : u8() ; time : u16() : le() ; acc_x : i24() : le() ; acc_y : i24() : le() ; acc_z : i24() : le() ; ang_rate_x : i24() : le() ; ang_rate_y : i24() : le() ; ang_rate_z : i24() : le() ; status_packet : u8() ; check_sum_1 : u8() ; not_decoded_nav_data : bytes(38) ; check_sum_2 : u8() ; status_channel : u8() ; minutes_from_gps_start : u32() : le() ; not_decoded_batch_s : bytes(4) ; check_sum_3 : u8() ; } wssdl.dissect { udp.port:set { [3000] = NCOM_packet:proto('NCOM', 'OxTS NCOM binary format') } }