Files
MicrOBU/microbu-esp32c5/tools/wireshark/psid-vru.lua
T

9 lines
656 B
Lua
Raw Normal View History

-- Wireshark stops dissecting a signed GeoNetworking packet at Ieee1609Dot2Data.unsecuredData
-- unless the headerInfo PSID is registered in its "ieee1609dot2.psid" table; 638 (VRU awareness
-- service, TS 102 965) is not in Wireshark 4.6 (36, 37, 137-141, 637, 639 are). Register it so the
-- payload continues as GeoNetworking common header -> BTP-B port 2018 -> ITS (VAM), the way CAM (36)
-- and DENM (37) already do. Copy to %APPDATA%\Wireshark\plugins\ or run tshark -X lua_script:this.
local psid = DissectorTable.get("ieee1609dot2.psid")
local gnw = Dissector.get("gnw.comm") -- the unsecured data starts at the GN common header
psid:add(638, gnw)