WIRE BUFFER · 40 BYTES · 0xFD … CRC
AWAITING SYNC…
—
The decoder walks the buffer left to right. Each field lights up, its raw bytes resolve to a value, and the checksum is verified against the message CRC_EXTRA.
spec: MAVLink 2 packet framing · mavlink.io/en/guide/serialization
WHY CRC_EXTRA MATTERS — SAME BYTES, TWO DIALECTS
RIGHT DIALECT · GLOBAL_POSITION_INT (#33)
CRC-16/MCRF4XX( bytes[1..38] ) + seed 104
0x7419
≡ frame CRC 0x7419 · PASS
WRONG DIALECT · seed for ATTITUDE (#30)
CRC-16/MCRF4XX( bytes[1..38] ) + seed 39
0x————
The CRC_EXTRA seed is a hash of the message's field names and types. A receiver whose
message definition disagrees by one field computes a different seed, so the very same wire bytes
fail the checksum. That is how MAVLink refuses to decode a frame it would otherwise misread.