MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Typedefs | Enumerations | Functions
commands_system.h File Reference
#include <mip/definitions/common.h>
#include <mip/mip_descriptors.h>
#include <mip/mip_result.h>
#include <mip/mip_interface.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

Go to the source code of this file.

Classes

struct  mip::C::mip_system_comm_mode_command
 
struct  mip::C::mip_system_comm_mode_response
 
struct  mip::C::mip_system_interface_control_command
 
struct  mip::C::mip_system_interface_control_response
 

Namespaces

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

Typedefs

typedef enum mip_comms_interface mip::C::mip_comms_interface
 
typedef uint32_t mip::C::mip_comms_protocol
 
typedef struct mip_system_comm_mode_command mip::C::mip_system_comm_mode_command
 
typedef struct mip_system_comm_mode_response mip::C::mip_system_comm_mode_response
 
typedef struct mip_system_interface_control_command mip::C::mip_system_interface_control_command
 
typedef struct mip_system_interface_control_response mip::C::mip_system_interface_control_response
 

Enumerations

enum  {
  mip::C::MIP_SYSTEM_CMD_DESC_SET = 0x7F, mip::C::MIP_CMD_DESC_MIPNET_ENUMERATE = 0x01, mip::C::MIP_CMD_DESC_SYSTEM_INTERFACE_CONTROL = 0x02, mip::C::MIP_CMD_DESC_SYSTEM_COM_MODE = 0x10,
  mip::C::MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL = 0x11, mip::C::MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL_2 = 0x12, mip::C::MIP_REPLY_DESC_SYSTEM_COM_MODE = 0x90, mip::C::MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL = 0x91,
  mip::C::MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL_2 = 0x92, mip::C::MIP_REPLY_DESC_SYSTEM_INTERFACE_CONTROL = 0x82
}
 
enum  { mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_PASSTHRU = 0x00 }
 
enum  { mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_NORMAL = 0x01 }
 
enum  { mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_IMU = 0x02 }
 
enum  { mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_GPS = 0x03 }
 
enum  mip::C::mip_comms_interface {
  mip::C::MIP_COMMS_INTERFACE_ALL = 0, mip::C::MIP_COMMS_INTERFACE_MAIN = 1, mip::C::MIP_COMMS_INTERFACE_UART_1 = 17, mip::C::MIP_COMMS_INTERFACE_UART_2 = 18,
  mip::C::MIP_COMMS_INTERFACE_UART_3 = 19, mip::C::MIP_COMMS_INTERFACE_USB_1 = 33, mip::C::MIP_COMMS_INTERFACE_USB_2 = 34
}
 

Functions

void mip::C::insert_mip_system_comm_mode_command (microstrain_serializer *serializer, const mip_system_comm_mode_command *self)
 
void mip::C::extract_mip_system_comm_mode_command (microstrain_serializer *serializer, mip_system_comm_mode_command *self)
 
void mip::C::insert_mip_system_comm_mode_response (microstrain_serializer *serializer, const mip_system_comm_mode_response *self)
 
void mip::C::extract_mip_system_comm_mode_response (microstrain_serializer *serializer, mip_system_comm_mode_response *self)
 
mip_cmd_result mip::C::mip_system_write_comm_mode (mip_interface *device, uint8_t mode)
 
mip_cmd_result mip::C::mip_system_read_comm_mode (mip_interface *device, uint8_t *mode_out)
 
mip_cmd_result mip::C::mip_system_default_comm_mode (mip_interface *device)
 
void mip::C::insert_mip_system_interface_control_command (microstrain_serializer *serializer, const mip_system_interface_control_command *self)
 
void mip::C::extract_mip_system_interface_control_command (microstrain_serializer *serializer, mip_system_interface_control_command *self)
 
void mip::C::insert_mip_system_interface_control_response (microstrain_serializer *serializer, const mip_system_interface_control_response *self)
 
void mip::C::extract_mip_system_interface_control_response (microstrain_serializer *serializer, mip_system_interface_control_response *self)
 
mip_cmd_result mip::C::mip_system_write_interface_control (mip_interface *device, mip_comms_interface port, mip_comms_protocol protocols_incoming, mip_comms_protocol protocols_outgoing)
 
mip_cmd_result mip::C::mip_system_read_interface_control (mip_interface *device, mip_comms_interface port, mip_comms_protocol *protocols_incoming_out, mip_comms_protocol *protocols_outgoing_out)
 
mip_cmd_result mip::C::mip_system_save_interface_control (mip_interface *device, mip_comms_interface port)
 
mip_cmd_result mip::C::mip_system_load_interface_control (mip_interface *device, mip_comms_interface port)
 
mip_cmd_result mip::C::mip_system_default_interface_control (mip_interface *device, mip_comms_interface port)