MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Enumerations | Functions
commands_system.hpp File Reference
#include "descriptors.h"
#include "../mip_result.h"
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Include dependency graph for commands_system.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mip::commands_system::CommMode
 
struct  mip::commands_system::CommMode::Response
 

Namespaces

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

Enumerations

enum  {
  mip::commands_system::DESCRIPTOR_SET = 0x7F , mip::commands_system::CMD_ENUMERATE = 0x01 , mip::commands_system::CMD_COM_MODE = 0x10 , mip::commands_system::CMD_HARDWARE_CONTROL = 0x11 ,
  mip::commands_system::CMD_HARDWARE_CONTROL_2 = 0x12 , mip::commands_system::REPLY_COM_MODE = 0x90 , mip::commands_system::REPLY_HARDWARE_CONTROL = 0x91 , mip::commands_system::REPLY_HARDWARE_CONTROL_2 = 0x92
}
 

Functions

void mip::commands_system::insert (Serializer &serializer, const CommMode &self)
 
void mip::commands_system::extract (Serializer &serializer, CommMode &self)
 
void mip::commands_system::insert (Serializer &serializer, const CommMode::Response &self)
 
void mip::commands_system::extract (Serializer &serializer, CommMode::Response &self)
 
CmdResult mip::commands_system::writeCommMode (C::mip_interface &device, uint8_t mode)
 
CmdResult mip::commands_system::readCommMode (C::mip_interface &device, uint8_t *modeOut)
 
CmdResult mip::commands_system::defaultCommMode (C::mip_interface &device)