Skip to content
New issue

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

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

Already on GitHub? # 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.
# for free to join this conversation on GitHub. Already have an account? # 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