MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Enumerations | Functions
commands_base.hpp File Reference
#include <mip/definitions/common.hpp>
#include <mip/mip_descriptors.hpp>
#include <mip/mip_result.hpp>
#include <mip/mip_interface.hpp>
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Classes

struct  mip::commands_base::BaseDeviceInfo
 
struct  mip::commands_base::CommandedTestBitsGq7
 
struct  mip::commands_base::Ping
 
struct  mip::commands_base::SetIdle
 
struct  mip::commands_base::GetDeviceInfo
 
struct  mip::commands_base::GetDeviceInfo::Response
 
struct  mip::commands_base::GetDeviceDescriptors
 
struct  mip::commands_base::GetDeviceDescriptors::Response
 
struct  mip::commands_base::BuiltInTest
 
struct  mip::commands_base::BuiltInTest::Response
 
struct  mip::commands_base::Resume
 
struct  mip::commands_base::GetExtendedDescriptors
 
struct  mip::commands_base::GetExtendedDescriptors::Response
 
struct  mip::commands_base::ContinuousBit
 
struct  mip::commands_base::ContinuousBit::Response
 
struct  mip::commands_base::CommSpeed
 
struct  mip::commands_base::CommSpeed::Response
 
struct  mip::commands_base::GpsTimeUpdate
 
struct  mip::commands_base::SoftReset
 

Namespaces

 mip
 A collection of C++ classes and functions covering the full mip api.
 
 mip::C
 
 mip::commands_base
 

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 }
 

Functions

TypedResult< Ping > mip::commands_base::ping (C::mip_interface &device)
 
TypedResult< SetIdle > mip::commands_base::setIdle (C::mip_interface &device)
 
TypedResult< GetDeviceInfo > mip::commands_base::getDeviceInfo (C::mip_interface &device, BaseDeviceInfo *deviceInfoOut)
 
TypedResult< GetDeviceDescriptors > mip::commands_base::getDeviceDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
 
TypedResult< BuiltInTest > mip::commands_base::builtInTest (C::mip_interface &device, uint32_t *resultOut)
 
TypedResult< Resume > mip::commands_base::resume (C::mip_interface &device)
 
TypedResult< GetExtendedDescriptors > mip::commands_base::getExtendedDescriptors (C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
 
TypedResult< ContinuousBit > mip::commands_base::continuousBit (C::mip_interface &device, uint8_t *resultOut)
 
TypedResult< CommSpeed > mip::commands_base::writeCommSpeed (C::mip_interface &device, uint8_t port, uint32_t baud)
 
TypedResult< CommSpeed > mip::commands_base::readCommSpeed (C::mip_interface &device, uint8_t port, uint32_t *baudOut)
 
TypedResult< CommSpeed > mip::commands_base::saveCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< CommSpeed > mip::commands_base::loadCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< CommSpeed > mip::commands_base::defaultCommSpeed (C::mip_interface &device, uint8_t port)
 
TypedResult< GpsTimeUpdate > mip::commands_base::writeGpsTimeUpdate (C::mip_interface &device, GpsTimeUpdate::FieldId fieldId, uint32_t value)
 
TypedResult< SoftReset > mip::commands_base::softReset (C::mip_interface &device)