MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Modules | Classes | Enumerations | Functions
Base Commands [CPP]
Collaboration diagram for Base Commands [CPP]:

Modules

 (0x01,0x01) Ping [CPP]
 
 (0x01,0x02) Set Idle [CPP]
 
 (0x01,0x03) Get Device Info [CPP]
 
 (0x01,0x04) Get Device Descriptors [CPP]
 
 (0x01,0x05) Built In Test [CPP]
 
 (0x01,0x06) Resume [CPP]
 
 (0x01,0x07) Get Extended Descriptors [CPP]
 
 (0x01,0x08) Continuous Bit [CPP]
 
 (0x01,0x09) Comm Speed [CPP]
 
 (0x01,0x72) Gps Time Update [CPP]
 
 (0x01,0x7E) Soft Reset [CPP]
 

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_BROADCAST = 0x71 , mip::commands_base::CMD_GPS_TIME_BROADCAST_NEW = 0x72 ,
  mip::commands_base::CMD_SYSTEM_TIME = 0x73 , 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 class  mip::commands_base::TimeFormat : uint8_t { mip::commands_base::GPS = 1 }
 

Functions

void mip::commands_base::insert (Serializer &serializer, const BaseDeviceInfo &self)
 
void mip::commands_base::extract (Serializer &serializer, BaseDeviceInfo &self)
 

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_BROADCAST 
CMD_GPS_TIME_BROADCAST_NEW 
CMD_SYSTEM_TIME 
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.

Function Documentation

◆ extract()

void mip::commands_base::extract ( Serializer serializer,
BaseDeviceInfo self 
)

◆ insert()

void mip::commands_base::insert ( Serializer serializer,
const BaseDeviceInfo self 
)