Package termination byte in Mavlink

I am trying to parse Mavlink serial messages and I’m having trouble differentiating individual packages. Does Mavlink have a termination byte I can use to identify the end of a package?

Note: I am having to manually build the parser because I am building a Flutter application to received status messages from a Flight Controller. Flutter uses Dart and is, unfortunately, not one of the supported languages:

Hello! Mavlink don’t have a a termination byte, it use 2 byte of checksum (more detail). There is 3 ways. You can use c++ functions in your flutter app, embed another language interpreter or parse mavlink yourself. The latter path is much more difficult than you think. But as a basis, you can take the mavlink implementation for javascript

1 Like