Ask Your Question

Revision history [back]

How to Grab Packets for a Lua Dissector Using Part of a Field

I'm able to filter in wireshark for the BLE packets I'm looking for using "btcommon.eir_ad.entry.custom_uuid_128 contains" followed by the part of the custom UUID that identifies the packets I'm looking for. I'm trying to create a Lua Dissector to parse those packets. I believe I should be using:

BLE_table = DissectorTable.get("btcommon.eir_ad.entry.custom_uuid_128")

What I can't figure out is what to use in BLE_table:add() to get the correct packets.