MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Modules | Classes | Enumerations
Base Commands

Modules

 (0x01,0x01) Ping
 Test Communications with a device.
 
 (0x01,0x02) Set Idle
 Turn off all device data streams.
 
 (0x01,0x03) Get Device Info
 Get the device ID strings and firmware version number.
 
 (0x01,0x04) Get Device Descriptors
 Get the command and data descriptors supported by the device.
 
 (0x01,0x05) Built In Test
 Run the device Built-In Test (BIT).
 
 (0x01,0x06) Resume
 Take the device out of idle mode.
 
 (0x01,0x07) Get Extended Descriptors
 Get the command and data descriptors supported by the device.
 
 (0x01,0x08) Continuous Bit
 Report result of continuous built-in test.
 
 (0x01,0x09) Comm Speed
 Controls the baud rate of a specific port on the device.
 
 (0x01,0x72) Gps Time Update
 Set device internal GPS time When combined with a PPS input signal applied to the I/O connector, this command enables complete synchronization of data outputs with an external time base, such as GPS system time. Since the hardware PPS synchronization can only detect the fractional number of seconds when pulses arrive, complete synchronization requires that the user provide the whole number of seconds via this command. After achieving PPS synchronization, this command should be sent twice: once to set the time-of-week and once to set the week number. PPS synchronization can be verified by monitoring the time sync status message (0xA0, 0x02) or the valid flags of any shared external timestamp (0x–, D7) data field.
 
 (0x01,0x7E) Soft Reset
 Resets the device.
 

Classes

struct  mip::commands_base::BaseDeviceInfo
 
struct  mip::commands_base::CommandedTestBitsGq7
 

Enumerations

enum  {
  mip::commands_base::DESCRIPTOR_SET = 0x01, mip::commands_base::CMD_PING = 0x01, mip::commands_base::CMD_SET_TO_IDLE = 0x02, mip::commands_base::CMD_GET_DEVICE_INFO = 0x03,
  mip::commands_base::CMD_GET_DEVICE_DESCRIPTORS = 0x04, mip::commands_base::CMD_BUILT_IN_TEST = 0x05, mip::commands_base::CMD_RESUME = 0x06, mip::commands_base::CMD_GET_EXTENDED_DESCRIPTORS = 0x07,
  mip::commands_base::CMD_CONTINUOUS_BIT = 0x08, mip::commands_base::CMD_COMM_SPEED = 0x09, mip::commands_base::CMD_GPS_TIME_UPDATE = 0x72, mip::commands_base::CMD_SOFT_RESET = 0x7E,
  mip::commands_base::REPLY_DEVICE_INFO = 0x81, mip::commands_base::REPLY_DEVICE_DESCRIPTORS = 0x82, mip::commands_base::REPLY_BUILT_IN_TEST = 0x83, mip::commands_base::REPLY_GPS_CORRELATION_WEEK = 0x84,
  mip::commands_base::REPLY_GPS_CORRELATION_SECONDS = 0x85, mip::commands_base::REPLY_GET_EXTENDED_DESCRIPTORS = 0x86, mip::commands_base::REPLY_CONTINUOUS_BIT = 0x88, mip::commands_base::REPLY_COMM_SPEED = 0x89
}
 
enum  mip::commands_base::TimeFormat : uint8_t { mip::commands_base::TimeFormat::GPS = 1 }
 

Detailed Description

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DESCRIPTOR_SET 
CMD_PING 
CMD_SET_TO_IDLE 
CMD_GET_DEVICE_INFO 
CMD_GET_DEVICE_DESCRIPTORS 
CMD_BUILT_IN_TEST 
CMD_RESUME 
CMD_GET_EXTENDED_DESCRIPTORS 
CMD_CONTINUOUS_BIT 
CMD_COMM_SPEED 
CMD_GPS_TIME_UPDATE 
CMD_SOFT_RESET 
REPLY_DEVICE_INFO 
REPLY_DEVICE_DESCRIPTORS 
REPLY_BUILT_IN_TEST 
REPLY_GPS_CORRELATION_WEEK 
REPLY_GPS_CORRELATION_SECONDS 
REPLY_GET_EXTENDED_DESCRIPTORS 
REPLY_CONTINUOUS_BIT 
REPLY_COMM_SPEED 

◆ TimeFormat

enum mip::commands_base::TimeFormat : uint8_t
strong
Enumerator
GPS 

GPS time, a = week number since 1980, b = time of week in milliseconds.