MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Modules | Classes | Typedefs | Enumerations | Functions
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::C::mip_base_device_info
 

Typedefs

typedef struct mip_base_device_info mip::C::mip_base_device_info
 
typedef enum mip_time_format mip::C::mip_time_format
 
typedef uint32_t mip::C::mip_commanded_test_bits_gq7
 

Enumerations

enum  {
  mip::C::MIP_BASE_CMD_DESC_SET = 0x01, mip::C::MIP_CMD_DESC_BASE_PING = 0x01, mip::C::MIP_CMD_DESC_BASE_SET_TO_IDLE = 0x02, mip::C::MIP_CMD_DESC_BASE_GET_DEVICE_INFO = 0x03,
  mip::C::MIP_CMD_DESC_BASE_GET_DEVICE_DESCRIPTORS = 0x04, mip::C::MIP_CMD_DESC_BASE_BUILT_IN_TEST = 0x05, mip::C::MIP_CMD_DESC_BASE_RESUME = 0x06, mip::C::MIP_CMD_DESC_BASE_GET_EXTENDED_DESCRIPTORS = 0x07,
  mip::C::MIP_CMD_DESC_BASE_CONTINUOUS_BIT = 0x08, mip::C::MIP_CMD_DESC_BASE_COMM_SPEED = 0x09, mip::C::MIP_CMD_DESC_BASE_GPS_TIME_UPDATE = 0x72, mip::C::MIP_CMD_DESC_BASE_SOFT_RESET = 0x7E,
  mip::C::MIP_REPLY_DESC_BASE_DEVICE_INFO = 0x81, mip::C::MIP_REPLY_DESC_BASE_DEVICE_DESCRIPTORS = 0x82, mip::C::MIP_REPLY_DESC_BASE_BUILT_IN_TEST = 0x83, mip::C::MIP_REPLY_DESC_BASE_GPS_CORRELATION_WEEK = 0x84,
  mip::C::MIP_REPLY_DESC_BASE_GPS_CORRELATION_SECONDS = 0x85, mip::C::MIP_REPLY_DESC_BASE_GET_EXTENDED_DESCRIPTORS = 0x86, mip::C::MIP_REPLY_DESC_BASE_CONTINUOUS_BIT = 0x88, mip::C::MIP_REPLY_DESC_BASE_COMM_SPEED = 0x89
}
 
enum  mip::C::mip_time_format { mip::C::MIP_TIME_FORMAT_GPS = 1 }
 

Functions

void mip::C::insert_mip_base_device_info (microstrain_serializer *serializer, const mip_base_device_info *self)
 
void mip::C::extract_mip_base_device_info (microstrain_serializer *serializer, mip_base_device_info *self)
 

Detailed Description

Typedef Documentation

◆ mip_base_device_info

◆ mip_commanded_test_bits_gq7

◆ mip_time_format

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MIP_BASE_CMD_DESC_SET 
MIP_CMD_DESC_BASE_PING 
MIP_CMD_DESC_BASE_SET_TO_IDLE 
MIP_CMD_DESC_BASE_GET_DEVICE_INFO 
MIP_CMD_DESC_BASE_GET_DEVICE_DESCRIPTORS 
MIP_CMD_DESC_BASE_BUILT_IN_TEST 
MIP_CMD_DESC_BASE_RESUME 
MIP_CMD_DESC_BASE_GET_EXTENDED_DESCRIPTORS 
MIP_CMD_DESC_BASE_CONTINUOUS_BIT 
MIP_CMD_DESC_BASE_COMM_SPEED 
MIP_CMD_DESC_BASE_GPS_TIME_UPDATE 
MIP_CMD_DESC_BASE_SOFT_RESET 
MIP_REPLY_DESC_BASE_DEVICE_INFO 
MIP_REPLY_DESC_BASE_DEVICE_DESCRIPTORS 
MIP_REPLY_DESC_BASE_BUILT_IN_TEST 
MIP_REPLY_DESC_BASE_GPS_CORRELATION_WEEK 
MIP_REPLY_DESC_BASE_GPS_CORRELATION_SECONDS 
MIP_REPLY_DESC_BASE_GET_EXTENDED_DESCRIPTORS 
MIP_REPLY_DESC_BASE_CONTINUOUS_BIT 
MIP_REPLY_DESC_BASE_COMM_SPEED 

◆ mip_time_format

Enumerator
MIP_TIME_FORMAT_GPS 

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

Function Documentation

◆ extract_mip_base_device_info()

void mip::C::extract_mip_base_device_info ( microstrain_serializer serializer,
mip_base_device_info self 
)

◆ insert_mip_base_device_info()

void mip::C::insert_mip_base_device_info ( microstrain_serializer serializer,
const mip_base_device_info self 
)