Step through every MAVLink protocol message by message, with real MAVLink 2 frames, timeouts and retries
Core & connection
Missions, params & files
Flight control
Payloads
Status & safety
Message layouts, CRC_EXTRA and enums come from the official MAVLink common.xml.
Every component broadcasts HEARTBEAT, normally at 1 Hz. It is how systems discover each other on a link, learn what kind of vehicle or component is there, and detect when a link drops.
step 1/6 · t = 0 ms
5 frames · 105 bytes
HEARTBEAT
id 0Autopilot (1/1) → broadcast · seq 0
Autopilot announces itself: a PX4 quadrotor in Position mode, standing by.
Fields (wire order)
| Field | Value |
|---|---|
custom_mode uint32_t | 196608 |
type uint8_t | 2 MAV_TYPE_QUADROTOR |
autopilot uint8_t | 12 MAV_AUTOPILOT_PX4 |
base_mode uint8_t | 81 MAV_MODE_FLAG_CUSTOM_MODE_ENABLED | MAV_MODE_FLAG_STABILIZE_ENABLED | MAV_MODE_FLAG_MANUAL_INPUT_ENABLED |
system_status uint8_t | 3 MAV_STATE_STANDBY |
mavlink_version uint8_t | 3 |
Fields are sorted by type size on the wire; EXT fields are MAVLink 2 extensions. Hover a field for its definition.
MAVLink 2 frame
header
payload
crc
21 bytes on the wire: 10 header + 9 payload + 2 CRC.
How Heartbeat / Connection works