Skip to content

Mavgen WLua: Support 64-bit flag fields#886

Merged
peterbarker merged 1 commit intoArduPilot:masterfrom
shancock884:iss852-dissect-64bit-flags
Dec 12, 2023
Merged

Mavgen WLua: Support 64-bit flag fields#886
peterbarker merged 1 commit intoArduPilot:masterfrom
shancock884:iss852-dissect-64bit-flags

Conversation

@shancock884
Copy link
Contributor

@shancock884 shancock884 commented Dec 7, 2023

Fixed Wireshark errors when decoding messages containing 64-bit bitmask/flag fields (fix #852).

Note that as per the notes I previously wrote in the issue, there is a wireshark limitation on the use of Uint64s meaning that this fix will only work while Mavlink bitfields do not make use of the high-32-bits.
This is currently OK for the only 2 messages using 64-bit bitfields (AUTOPILOT_VERSION and GENERATOR_STATUS)

I have also created a test case using a PCAP file containing an AUTOPILOT_VERSION message.

- includes a new test case for AUTOPILOT_VERSION message
- Note that due to Wireshark limitation this fix will only work while
bitfields are not using the high 32-bits - this is the case for all
current messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wireshark Wlua dissection of 64-bit flag fields

2 participants