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
- message/content/docs-only update inside current schema: increment `version.patch`
13
26
14
27
**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**
15
28
@@ -27,36 +40,50 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
27
40
# Format:
28
41
## JSON format example:
29
42
```
30
-
"MSP_API_VERSION": {
31
-
"code": 1,
32
-
"mspv": 1,
33
-
"request": null,
34
-
"reply": {
35
-
"payload": [
36
-
{
37
-
"name": "mspProtocolVersion",
38
-
"ctype": "uint8_t",
39
-
"units": "",
40
-
"desc": "MSP Protocol version (`MSP_PROTOCOL_VERSION`, typically 0)."
41
-
},
42
-
{
43
-
"name": "apiVersionMajor",
44
-
"ctype": "uint8_t",
45
-
"units": "",
46
-
"desc": "INAV API Major version (`API_VERSION_MAJOR`)."
47
-
},
48
-
{
49
-
"name": "apiVersionMinor",
50
-
"ctype": "uint8_t",
51
-
"units": "",
52
-
"desc": "INAV API Minor version (`API_VERSION_MINOR`)."
53
-
}
54
-
],
55
-
},
56
-
"notes": "Used by configurators to check compatibility.",
57
-
"description": "Provides the MSP protocol version and the INAV API version."
43
+
{
44
+
"version": {
45
+
"major": 2,
46
+
"minor": 0,
47
+
"patch": 0
58
48
},
49
+
"messages": {
50
+
"MSP_API_VERSION": {
51
+
"code": 1,
52
+
"mspv": 1,
53
+
"request": null,
54
+
"reply": {
55
+
"payload": [
56
+
{
57
+
"name": "mspProtocolVersion",
58
+
"ctype": "uint8_t",
59
+
"units": "",
60
+
"desc": "MSP Protocol version (`MSP_PROTOCOL_VERSION`, typically 0)."
61
+
},
62
+
{
63
+
"name": "apiVersionMajor",
64
+
"ctype": "uint8_t",
65
+
"units": "",
66
+
"desc": "INAV API Major version (`API_VERSION_MAJOR`)."
67
+
},
68
+
{
69
+
"name": "apiVersionMinor",
70
+
"ctype": "uint8_t",
71
+
"units": "",
72
+
"desc": "INAV API Minor version (`API_VERSION_MINOR`)."
73
+
}
74
+
]
75
+
},
76
+
"notes": "Used by configurators to check compatibility.",
77
+
"description": "Provides the MSP protocol version and the INAV API version."
78
+
},
79
+
"...": {}
80
+
}
81
+
}
59
82
```
83
+
## Top-level fields:
84
+
**version**: JSON spec version (`major.minor.patch`)\
85
+
**messages**: Dictionary keyed by MSP message name
86
+
60
87
## Message fields:
61
88
**name**: MSP message name\
62
89
**code**: Integer message code\
@@ -66,6 +93,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
66
93
**variable_len**: Optional boolean, if true, message does not have a predefined fixed length and needs appropriate handling\
67
94
**variants**: Optional special case, message has different cases of reply/request. Key/description is not a strict expression or code; just a readable condition\
68
95
**not_implemented**: Optional special case, message is not implemented (never or deprecated)\
96
+
**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\
69
97
**notes**: String with details of message
70
98
71
99
## Data dict fields:
@@ -2213,7 +2241,7 @@ For list of enums, see [Enum documentation page](https://github.com/iNavFlight/i
**Notes:** Superseded by `MSP2_INAV_STATUS` which provides the full 32-bit `armingFlags` and other enhancements.
2244
+
**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`.
- message/content/docs-only update inside current schema: increment `version.patch`
13
26
14
27
**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**
0 commit comments