MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Modules | Classes | Enumerations
System Commands

Modules

 (0x7F,0x10) Comm Mode
 Advanced specialized communication modes.
 
 (0x7F,0x02) Interface Control
 Reassign data protocols, both incoming and outgoing.
 

Classes

struct  mip::commands_system::CommsProtocol
 

Enumerations

enum  {
  mip::commands_system::DESCRIPTOR_SET = 0x7F, mip::commands_system::CMD_ENUMERATE = 0x01, mip::commands_system::CMD_INTERFACE_CONTROL = 0x02, mip::commands_system::CMD_COM_MODE = 0x10,
  mip::commands_system::CMD_HARDWARE_CONTROL = 0x11, mip::commands_system::CMD_HARDWARE_CONTROL_2 = 0x12, mip::commands_system::REPLY_COM_MODE = 0x90, mip::commands_system::REPLY_HARDWARE_CONTROL = 0x91,
  mip::commands_system::REPLY_HARDWARE_CONTROL_2 = 0x92, mip::commands_system::REPLY_INTERFACE_CONTROL = 0x82
}
 
enum  mip::commands_system::CommsInterface : uint8_t {
  mip::commands_system::CommsInterface::ALL = 0, mip::commands_system::CommsInterface::MAIN = 1, mip::commands_system::CommsInterface::UART_1 = 17, mip::commands_system::CommsInterface::UART_2 = 18,
  mip::commands_system::CommsInterface::UART_3 = 19, mip::commands_system::CommsInterface::USB_1 = 33, mip::commands_system::CommsInterface::USB_2 = 34
}
 

Detailed Description

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DESCRIPTOR_SET 
CMD_ENUMERATE 
CMD_INTERFACE_CONTROL 
CMD_COM_MODE 
CMD_HARDWARE_CONTROL 
CMD_HARDWARE_CONTROL_2 
REPLY_COM_MODE 
REPLY_HARDWARE_CONTROL 
REPLY_HARDWARE_CONTROL_2 
REPLY_INTERFACE_CONTROL 

◆ CommsInterface

enum mip::commands_system::CommsInterface : uint8_t
strong
Enumerator
ALL 
MAIN 

An alias that directs to Main USB if it's connected, or Main UART otherwise.

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.

UART_2 
UART_3 
USB_1 

The first virtual serial port over USB (ie. COM5)

USB_2 

The second virtual serial port over USB (ie. COM6), only available on GNSS/INS devices. Recommended for NMEA/RTCM.