MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
25 {
true,
false,
false,
false,
false},
32 "commands_system::CommMode::Response",
48 FUNCTION_SELECTOR_PARAM,
54 {
true,
false,
false,
false,
false},
61 "commands_system::CommMode",
63 "Advanced specialized communication modes.\n\nThis command allows the user to communicate directly with various subsystems which may be present in MIP devices (i.e. IMU, GNSS, etc.)\nPlease see the specific device's user manual for possible modes.\n\nThis command responds with an ACK/NACK just prior to switching to the new protocol.\nFor all functions except 0x01 (use new settings), the new communications mode value is ignored.\n\n",
66 {
true,
true,
false,
false,
true},
77 { uint32_t(0),
"ALL",
"" },
78 { uint32_t(1),
"MAIN",
"An alias that directs to Main USB if it's connected, or Main UART otherwise" },
79 { uint32_t(17),
"UART_1",
"Depending on your device, this may mean either the first UART *currently configured*, or the first port on which UART *can be configured*. Refer to your device manual." },
80 { uint32_t(18),
"UART_2",
"" },
81 { uint32_t(19),
"UART_3",
"" },
82 { uint32_t(33),
"USB_1",
"The first virtual serial port over USB (ie. COM5)" },
83 { uint32_t(34),
"USB_2",
"The second virtual serial port over USB (ie. COM6), only available on GNSS/INS devices. Recommended for NMEA/RTCM." },
101 { uint32_t(1),
"MIP_COMMANDS",
"" },
102 { uint32_t(2),
"MIP_DATA",
"" },
103 { uint32_t(4),
"NMEA",
"" },
104 { uint32_t(8),
"RTCM",
"" },
105 { uint32_t(16),
"SPARTN",
"" },
125 "Which physical interface is being selected (USB, serial, etc)",
128 {
true,
true,
true,
true,
true,
true},
133 "protocols_incoming",
134 "Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses, it will be sent over this port even if no corresponding output protocol is set.",
137 {
true,
false,
false,
false,
false},
142 "protocols_outgoing",
143 "Data protocol(s) the port will output",
146 {
true,
false,
false,
false,
false},
153 "commands_system::InterfaceControl::Response",
169 FUNCTION_SELECTOR_PARAM,
172 "Which physical interface is being selected (USB, serial, etc)",
175 {
true,
true,
true,
true,
true,
true},
180 "protocols_incoming",
181 "Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses, it will be sent over this port even if no corresponding output protocol is set.",
184 {
true,
false,
false,
false,
false},
189 "protocols_outgoing",
190 "Data protocol(s) the port will output",
193 {
true,
false,
false,
false,
false},
200 "commands_system::InterfaceControl",
202 "Reassign data protocols, both incoming and outgoing.\n\nResponds over the port that sent the command with an ACK/NACK immediately after the operation is complete. It is the user's responsibility to not\nsend any critical information or commands while awaiting a response! Doing so while this command processes may cause those packets to be dropped.\n\nConstraints:\n- Limited parsers and data streams are available. Refer to your device manual for more information.\n- The Main port always has a MIP parser and MIP data stream bound. Additionally, Main is the only port that can process interface control commands.\n\nIf response is NACK, no change was made. Here's what can cause a NACK:\n- The requested protocol isn't supported on this device, or on this port, or this device doesn't support that many parsers.\n- The request would break the general constraints listed above, or a device-specific constraint.\n\n",
205 {
true,
true,
true,
true,
true},
211 static constexpr
inline const FieldInfo* COMMANDS_SYSTEM_FIELDS[] = {
218 static constexpr DescriptorSetInfo COMMANDS_SYSTEM = {
221 COMMANDS_SYSTEM_FIELDS,
Definition: commands_system.hpp:208
CommsInterface
Definition: commands_system.hpp:53
Definition: commands_system.hpp:246
Definition: mip_structures.hpp:67
Definition: commands_system.hpp:64
Definition: commands_system.hpp:154
@ DESCRIPTOR_SET
Definition: commands_system.hpp:31
Definition: commands_system.hpp:119