MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Enumerations | Functions
mip::commands_base Namespace Reference

Classes

struct  BaseDeviceInfo
 
struct  BuiltInTest
 
struct  CommandedTestBitsGq7
 
struct  CommSpeed
 
struct  ContinuousBit
 
struct  GetDeviceDescriptors
 
struct  GetDeviceInfo
 
struct  GetExtendedDescriptors
 
struct  GpsTimeUpdate
 
struct  Ping
 
struct  Resume
 
struct  SetIdle
 
struct  SoftReset
 

Enumerations

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

Functions

TypedResult< Pingping (C::mip_interface &device)
 
TypedResult< SetIdlesetIdle (C::mip_interface &device)
 
TypedResult< GetDeviceInfogetDeviceInfo (C::mip_interface &device, BaseDeviceInfo *deviceInfoOut)
 
TypedResult< GetDeviceDescriptorsgetDeviceDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
 
TypedResult< BuiltInTestbuiltInTest (C::mip_interface &device, uint32_t *resultOut)
 
TypedResult< Resumeresume (C::mip_interface &device)
 
TypedResult< GetExtendedDescriptorsgetExtendedDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
 
TypedResult< ContinuousBitcontinuousBit (C::mip_interface &device, uint8_t *resultOut)
 
TypedResult< CommSpeedwriteCommSpeed (C::mip_interface &device, uint8_t port, uint32_t baud)
 
TypedResult< CommSpeedreadCommSpeed (C::mip_interface &device, uint8_t port, uint32_t *baudOut)
 
TypedResult< CommSpeedsaveCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< CommSpeedloadCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< CommSpeeddefaultCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< GpsTimeUpdatewriteGpsTimeUpdate (C::mip_interface &device, GpsTimeUpdate::FieldId fieldId, uint32_t value)
 
TypedResult< SoftResetsoftReset (C::mip_interface &device)