Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
1fb5cb5
mavlink compatibility fixes
xznhj8129 Dec 13, 2025
b89b8e1
compatibility + messages
xznhj8129 Dec 13, 2025
7201a83
qgc mission errors fix + frame handling
xznhj8129 Dec 13, 2025
59b7ea8
no takeoff
xznhj8129 Dec 13, 2025
8fe9976
defaults in wps
xznhj8129 Dec 14, 2025
a3526ad
available modes fixes + unit tests
xznhj8129 Jan 17, 2026
19fd708
fix wrong mav version call
xznhj8129 Jan 28, 2026
11d378a
honor altitude frames for guided
xznhj8129 Jan 28, 2026
3594e24
remove duplicate extended sys state
xznhj8129 Jan 28, 2026
ab0c758
align heartbeat type for fixed wing
xznhj8129 Jan 28, 2026
3d4011c
add mavlink protocol and guided tests
xznhj8129 Jan 28, 2026
e50a878
treat guided global altitude as relative
xznhj8129 Jan 28, 2026
eceab90
reject mission upload while armed
xznhj8129 Jan 28, 2026
f9d2710
restore guided absolute altitude handling
xznhj8129 Jan 28, 2026
ecf96f0
support guided mission_item_int
xznhj8129 Jan 28, 2026
4e2ca11
map mavlink modes to box config
xznhj8129 Jan 28, 2026
2b2bfb9
fix do_jump waypoint p3
xznhj8129 Jan 28, 2026
6bc963b
set guided mission_item altitude mode
xznhj8129 Jan 28, 2026
e2656b8
mode fixgit status!
xznhj8129 Feb 24, 2026
9143acc
add mavlink doc
xznhj8129 Feb 24, 2026
b9b11c0
add altitude command
xznhj8129 Mar 3, 2026
25e1be4
Merge remote-tracking branch 'upstream/maintenance-10.x' into mav_fix2
xznhj8129 Mar 3, 2026
454dd48
docgen
xznhj8129 Mar 3, 2026
1250399
qodo fixes + set_pos_tgt_global alt change + docs
xznhj8129 Mar 4, 2026
eda3b3f
multi mav port + router, iteration 1
xznhj8129 Feb 27, 2026
4436964
small refactor + settings + common.h max mav ports define
xznhj8129 Feb 27, 2026
e45c090
broadcast fixing
xznhj8129 Mar 3, 2026
27d98b5
only initialize streams for port 1
xznhj8129 Mar 3, 2026
d2f2866
.
xznhj8129 Mar 4, 2026
13cb589
mission upload drop guard, split telemetry messages, port handling fixes
xznhj8129 Mar 5, 2026
5c3b2eb
update mav_fix2 changes
xznhj8129 Mar 8, 2026
c0c6fab
add mav yaw, fix missing cli yaml
xznhj8129 Apr 1, 2026
f2dacc1
Add MSP tunnel over MAVLink
xznhj8129 Apr 2, 2026
b219492
Fix MAVLink routing and intervals
xznhj8129 Apr 3, 2026
64c2680
Refactor MAVLink runtime split
xznhj8129 Apr 3, 2026
ed16283
Rename MAVLink shared types header
xznhj8129 Apr 3, 2026
3847f8d
Move MAVLink sends into streams
xznhj8129 Apr 3, 2026
afa34e0
Split MAVLink modes and mission helpers
xznhj8129 Apr 3, 2026
6e20c11
Fix MAVLink user docs
xznhj8129 Apr 3, 2026
a412f8c
Fix MAVLink half-duplex RX backoff
xznhj8129 Apr 3, 2026
756c031
Add MAVLink mission reached message
xznhj8129 Apr 3, 2026
8dcde21
Merge branch 'maintenance-10.x' into mavlink_multiport2
xznhj8129 Apr 4, 2026
4a433a6
Lightened fc_mavlink + command/guided files + small refactor
xznhj8129 Apr 4, 2026
403bcb5
fixed docgen to include mavlink
xznhj8129 Apr 4, 2026
2e03649
mlrs test
xznhj8129 Apr 18, 2026
9e5f842
regenerate mavlink headers + compile all dialect
xznhj8129 Apr 18, 2026
88975b0
.
xznhj8129 Apr 20, 2026
98c35a8
Add native MLRS MAVLink receive support
xznhj8129 Apr 22, 2026
4bc1423
Refresh MAVLink capability docs
xznhj8129 Apr 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.bak
*.uvgui.*
*.ubx
*.log
.project
.settings
.cproject
Expand Down
244 changes: 244 additions & 0 deletions docs/Mavlink.md

Large diffs are not rendered by default.

132 changes: 116 additions & 16 deletions docs/Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -2652,86 +2652,186 @@ Autopilot type to advertise for MAVLink telemetry

---

### mavlink_ext_status_rate
### mavlink_port1_ext_status_rate

Rate of the extended status message for MAVLink telemetry
Rate of the extended status message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 2 | 0 | 255 |

---

### mavlink_extra1_rate
### mavlink_port1_extra1_rate

Rate of the extra1 message for MAVLink telemetry
Rate of the extra1 message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 2 | 0 | 255 |

---

### mavlink_extra2_rate
### mavlink_port1_extra2_rate

Rate of the extra2 message for MAVLink telemetry
Rate of the extra2 message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 2 | 0 | 255 |

---

### mavlink_extra3_rate
### mavlink_port1_extra3_rate

Rate of the extra3 message for MAVLink telemetry
Rate of the extra3 message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 1 | 0 | 255 |

---

### mavlink_min_txbuffer
### mavlink_port1_high_latency

Minimum percent of TX buffer space free, before attempting to transmit telemetry. Requuires RADIO_STATUS messages to be processed. 0 = always transmits.
Enable MAVLink high-latency mode on port 1

| Default | Min | Max |
| --- | --- | --- |
| OFF | OFF | ON |

---

### mavlink_port1_min_txbuffer

Minimum percent of TX buffer space free for MAVLink port 1. Requires RADIO_STATUS messages.

| Default | Min | Max |
| --- | --- | --- |
| 33 | 0 | 100 |

---

### mavlink_pos_rate
### mavlink_port1_pos_rate

Rate of the position message for MAVLink telemetry
Rate of the position message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 2 | 0 | 255 |

---

### mavlink_radio_type
### mavlink_port1_radio_type

Mavlink radio type. Affects how RSSI and LQ are reported on OSD.
MAVLink radio type for port 1. Affects RSSI and LQ reporting on OSD.

| Default | Min | Max |
| --- | --- | --- |
| GENERIC | | |

---

### mavlink_rc_chan_rate
### mavlink_port1_rc_chan_rate

Rate of the RC channels message for MAVLink telemetry
Rate of the RC channels message for MAVLink telemetry on port 1

| Default | Min | Max |
| --- | --- | --- |
| 1 | 0 | 255 |

---

### mavlink_port2_high_latency

Enable MAVLink high-latency mode on port 2

| Default | Min | Max |
| --- | --- | --- |
| OFF | OFF | ON |

---

### mavlink_port2_min_txbuffer

Minimum percent of TX buffer space free for MAVLink port 2. Requires RADIO_STATUS messages.

| Default | Min | Max |
| --- | --- | --- |
| 33 | 0 | 100 |

---

### mavlink_port2_radio_type

MAVLink radio type for port 2. Affects RSSI and LQ reporting on OSD.

| Default | Min | Max |
| --- | --- | --- |
| GENERIC | | |

---

### mavlink_port3_high_latency

Enable MAVLink high-latency mode on port 3

| Default | Min | Max |
| --- | --- | --- |
| OFF | OFF | ON |

---

### mavlink_port3_min_txbuffer

Minimum percent of TX buffer space free for MAVLink port 3. Requires RADIO_STATUS messages.

| Default | Min | Max |
| --- | --- | --- |
| 33 | 0 | 100 |

---

### mavlink_port3_radio_type

MAVLink radio type for port 3. Affects RSSI and LQ reporting on OSD.

| Default | Min | Max |
| --- | --- | --- |
| GENERIC | | |

---

### mavlink_port4_high_latency

Enable MAVLink high-latency mode on port 4

| Default | Min | Max |
| --- | --- | --- |
| OFF | OFF | ON |

---

### mavlink_port4_min_txbuffer

Minimum percent of TX buffer space free for MAVLink port 4. Requires RADIO_STATUS messages.

| Default | Min | Max |
| --- | --- | --- |
| 33 | 0 | 100 |

---

### mavlink_port4_radio_type

MAVLink radio type for port 4. Affects RSSI and LQ reporting on OSD.

| Default | Min | Max |
| --- | --- | --- |
| GENERIC | | |

---

### mavlink_sysid

MAVLink System ID
Expand Down
16 changes: 9 additions & 7 deletions docs/development/msp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i



**JSON file rev: 4**
**JSON file rev: 0**

**Warning: Verification needed, exercise caution until completely verified for accuracy and cleared, especially for integer signs. Source-based generation/validation is forthcoming. Refer to source for absolute certainty**

Expand Down Expand Up @@ -66,6 +66,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
**variable_len**: Optional boolean, if true, message does not have a predefined fixed length and needs appropriate handling\
**variants**: Optional special case, message has different cases of reply/request. Key/description is not a strict expression or code; just a readable condition\
**not_implemented**: Optional special case, message is not implemented (never or deprecated)\
**replaced_by**: Optional array of MSP message names that replace this command. Present when a command is deprecated and scheduled for removal. Empty array if no replacement is needed\
**notes**: String with details of message

## Data dict fields:
Expand Down Expand Up @@ -419,8 +420,8 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
[8730 - MSP2_INAV_SET_GLOBAL_TARGET](#msp2_inav_set_global_target)
[8731 - MSP2_INAV_NAV_TARGET](#msp2_inav_nav_target)
[8736 - MSP2_INAV_FULL_LOCAL_POSE](#msp2_inav_full_local_pose)
[12288 - MSP2_BETAFLIGHT_BIND](#msp2_betaflight_bind)
[12289 - MSP2_RX_BIND](#msp2_rx_bind)
[12288 - MSP2_BETAFLIGHT_BIND](#msp2_betaflight_bind)
[12289 - MSP2_RX_BIND](#msp2_rx_bind)

## <a id="msp_api_version"></a>`MSP_API_VERSION (1 / 0x1)`
**Description:** Provides the MSP protocol version and the INAV API version.
Expand Down Expand Up @@ -2213,7 +2214,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
| `armingFlags` | `uint16_t` | 2 | Bitmask | Bitmask: Flight controller arming flags (`armingFlags`). Note: Truncated to 16 bits |
| `accCalibAxisFlags` | `uint8_t` | 1 | Bitmask | Bitmask: Accelerometer calibrated axes flags (`accGetCalibrationAxisFlags()`) |

**Notes:** Superseded by `MSP2_INAV_STATUS` which provides the full 32-bit `armingFlags` and other enhancements.
**Notes:** Superseded by `MSP2_INAV_STATUS` which provides the full 32-bit `armingFlags` and other enhancements. The `accCalibAxisFlags` field is not present in `MSP2_INAV_STATUS` but is available via `MSP_CALIBRATION_DATA`.

## <a id="msp_sensor_status"></a>`MSP_SENSOR_STATUS (151 / 0x97)`
**Description:** Provides the hardware status for each individual sensor system.
Expand Down Expand Up @@ -2280,6 +2281,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
| `hdop` | `uint16_t` | 2 | HDOP * 100 | Horizontal Dilution of Precision (`gpsSol.hdop`) |
| `eph` | `uint16_t` | 2 | cm | Estimated Horizontal Position Accuracy (`gpsSol.eph`) |
| `epv` | `uint16_t` | 2 | cm | Estimated Vertical Position Accuracy (`gpsSol.epv`) |
| `hwVersion` | `uint32_t` | 4 | Version code | GPS hardware version (`gpsState.hwVersion`). Values: 500=UBLOX5, 600=UBLOX6, 700=UBLOX7, 800=UBLOX8, 900=UBLOX9, 1000=UBLOX10, 0=UNKNOWN |

**Notes:** Requires `USE_GPS`.

Expand Down Expand Up @@ -4650,14 +4652,14 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
**Notes:** Requires `rxConfig()->receiverType == RX_TYPE_SERIAL`. Requires `USE_SERIALRX_CRSF` or `USE_SERIALRX_SRXL2`. Calls `crsfBind()` or `srxl2Bind()` respectively. Returns error if receiver type or provider is not supported for binding.

## <a id="msp2_rx_bind"></a>`MSP2_RX_BIND (12289 / 0x3001)`
**Description:** Initiates binding for MSP receivers (mLRS).

**Description:** Initiates binding for MSP receivers (mLRS).
**Request Payload:**
|Field|C Type|Size (Bytes)|Description|
|---|---|---|---|
| `port_id` | `uint8_t` | 1 | Port ID |
| `reserved_for_custom_use` | `uint8_t[3]` | 3 | Reserved for custom use |

**Reply Payload:**
|Field|C Type|Size (Bytes)|Description|
|---|---|---|---|
Expand Down
Loading