You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/msp/msp_messages.json
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10943,6 +10943,32 @@
10943
10943
"notes": "All attitude angles are in deci-degrees.",
10944
10944
"description": "Provides estimates of current attitude, local NEU position, and velocity."
10945
10945
},
10946
+
"MSP2_INAV_SET_AUX_RC": {
10947
+
"code": 8752,
10948
+
"mspv": 2,
10949
+
"request": {
10950
+
"payload": [
10951
+
{
10952
+
"name": "definitionByte",
10953
+
"ctype": "uint8_t",
10954
+
"desc": "Packed start channel and resolution. Bits 7-3: start channel index (valid range 8-31 for CH9-CH32; 0-7 rejected as error). Bits 2-0: resolution mode (0=2-bit, 1=4-bit, 2=8-bit, 3=16-bit; 4-7 reserved/error).",
10955
+
"units": ""
10956
+
},
10957
+
{
10958
+
"name": "channelData",
10959
+
"ctype": "uint8_t",
10960
+
"desc": "Packed channel values, sequential from start channel. Number of channels is derived from data size and resolution. Value 0 means skip (no update). Sub-byte modes (2-bit, 4-bit) are packed MSB-first. 2-bit values 1-3 map to 1000/1500/2000us. 4-bit values 1-15 map to 1000 + (val-1)*1000/14 us. 8-bit values 1-255 map to 1000 + (val-1)*1000/254 us. 16-bit values are direct PWM.",
10961
+
"units": "PWM (encoded)",
10962
+
"array": true,
10963
+
"array_size": 0
10964
+
}
10965
+
]
10966
+
},
10967
+
"reply": null,
10968
+
"variable_len": true,
10969
+
"notes": "CH1-CH8 (index 0-7) are protected and will return `MSP_RESULT_ERROR`. Constraint: `startChannel + channelCount <= 32`. Values persist until overwritten; no timeout. Applied as a post-RX overlay in `calculateRxChannelsAndUpdateFailsafe()` after MSP RC Override but before failsafe. Does not require `USE_RX_MSP` or MSP-RC-OVERRIDE flight mode. Does not affect failsafe detection. Recommended to send with `MSP_FLAG_DONT_REPLY` (flags=0x01) to save bandwidth on telemetry passthrough links. 16-bit mode requires even number of data bytes.",
10970
+
"description": "Bandwidth-efficient auxiliary RC channel update. Sets CH9-CH32 with configurable resolution (2/4/8/16-bit) without affecting primary flight controls. Designed for extending channel count beyond native RC link capacity via MSP passthrough."
0 commit comments