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

Add writing extension fields and truncation to MAVLink 2 messages. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nthorn552
Copy link

MAVLink 2 allows truncation of all "zero" bytes at the end of the payload. The truncated bytes are removed, and the payload length is adjusted accordingly. The checksum is calculated after any truncation has occurred.

https://mavlink.io/en/guide/serialization.html#payload_truncation

@nthorn552 nthorn552 closed this Feb 11, 2020
@nthorn552 nthorn552 deleted the v2-pack-extension-fields branch February 11, 2020 21:29
@nthorn552 nthorn552 restored the v2-pack-extension-fields branch February 11, 2020 23:28
@nthorn552 nthorn552 reopened this Feb 11, 2020
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.

1 participant