Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mavgen WLua: Support 64-bit flag fields #886

Merged

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.
@peterbarker peterbarker merged commit 57d992e into ArduPilot:master Dec 12, 2023
11 checks passed
@shancock884 shancock884 deleted the iss852-dissect-64bit-flags branch December 12, 2023 08:30
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