MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Classes | Namespaces | Typedefs | Enumerations | Functions
commands_base.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_base_device_info
 
struct  mip::C::mip_base_get_device_info_response
 
struct  mip::C::mip_base_get_device_descriptors_response
 
struct  mip::C::mip_base_built_in_test_response
 
struct  mip::C::mip_base_get_extended_descriptors_response
 
struct  mip::C::mip_base_continuous_bit_response
 
struct  mip::C::mip_base_comm_speed_command
 
struct  mip::C::mip_base_comm_speed_response
 
struct  mip::C::mip_base_gps_time_update_command
 

Namespaces

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

Typedefs

typedef struct mip_base_device_info mip::C::mip_base_device_info
 
typedef enum mip_time_format mip::C::mip_time_format
 
typedef uint32_t mip::C::mip_commanded_test_bits_gq7
 
typedef struct mip_base_ping_command mip::C::mip_base_ping_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_set_idle_command mip::C::mip_base_set_idle_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_device_info_command mip::C::mip_base_get_device_info_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_device_info_response mip::C::mip_base_get_device_info_response
 
typedef struct mip_base_get_device_descriptors_command mip::C::mip_base_get_device_descriptors_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_device_descriptors_response mip::C::mip_base_get_device_descriptors_response
 
typedef struct mip_base_built_in_test_command mip::C::mip_base_built_in_test_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_built_in_test_response mip::C::mip_base_built_in_test_response
 
typedef struct mip_base_resume_command mip::C::mip_base_resume_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_extended_descriptors_command mip::C::mip_base_get_extended_descriptors_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_get_extended_descriptors_response mip::C::mip_base_get_extended_descriptors_response
 
typedef struct mip_base_continuous_bit_command mip::C::mip_base_continuous_bit_command
 No parameters (empty struct not allowed in C) More...
 
typedef struct mip_base_continuous_bit_response mip::C::mip_base_continuous_bit_response
 
typedef struct mip_base_comm_speed_command mip::C::mip_base_comm_speed_command
 
typedef struct mip_base_comm_speed_response mip::C::mip_base_comm_speed_response
 
typedef enum mip_base_gps_time_update_command_field_id mip::C::mip_base_gps_time_update_command_field_id
 
typedef struct mip_base_gps_time_update_command mip::C::mip_base_gps_time_update_command
 
typedef struct mip_base_soft_reset_command mip::C::mip_base_soft_reset_command
 No parameters (empty struct not allowed in C) More...
 

Enumerations

enum  {
  mip::C::MIP_BASE_CMD_DESC_SET = 0x01, mip::C::MIP_CMD_DESC_BASE_PING = 0x01, mip::C::MIP_CMD_DESC_BASE_SET_TO_IDLE = 0x02, mip::C::MIP_CMD_DESC_BASE_GET_DEVICE_INFO = 0x03,
  mip::C::MIP_CMD_DESC_BASE_GET_DEVICE_DESCRIPTORS = 0x04, mip::C::MIP_CMD_DESC_BASE_BUILT_IN_TEST = 0x05, mip::C::MIP_CMD_DESC_BASE_RESUME = 0x06, mip::C::MIP_CMD_DESC_BASE_GET_EXTENDED_DESCRIPTORS = 0x07,
  mip::C::MIP_CMD_DESC_BASE_CONTINUOUS_BIT = 0x08, mip::C::MIP_CMD_DESC_BASE_COMM_SPEED = 0x09, mip::C::MIP_CMD_DESC_BASE_GPS_TIME_UPDATE = 0x72, mip::C::MIP_CMD_DESC_BASE_SOFT_RESET = 0x7E,
  mip::C::MIP_REPLY_DESC_BASE_DEVICE_INFO = 0x81, mip::C::MIP_REPLY_DESC_BASE_DEVICE_DESCRIPTORS = 0x82, mip::C::MIP_REPLY_DESC_BASE_BUILT_IN_TEST = 0x83, mip::C::MIP_REPLY_DESC_BASE_GPS_CORRELATION_WEEK = 0x84,
  mip::C::MIP_REPLY_DESC_BASE_GPS_CORRELATION_SECONDS = 0x85, mip::C::MIP_REPLY_DESC_BASE_GET_EXTENDED_DESCRIPTORS = 0x86, mip::C::MIP_REPLY_DESC_BASE_CONTINUOUS_BIT = 0x88, mip::C::MIP_REPLY_DESC_BASE_COMM_SPEED = 0x89
}
 
enum  mip::C::mip_time_format { mip::C::MIP_TIME_FORMAT_GPS = 1 }
 
enum  { mip::C::MIP_BASE_COMM_SPEED_COMMAND_ALL_PORTS = 0 }
 
enum  mip::C::mip_base_gps_time_update_command_field_id { mip::C::MIP_BASE_GPS_TIME_UPDATE_COMMAND_FIELD_ID_WEEK_NUMBER = 1, mip::C::MIP_BASE_GPS_TIME_UPDATE_COMMAND_FIELD_ID_TIME_OF_WEEK = 2 }
 

Functions

void mip::C::insert_mip_base_device_info (microstrain_serializer *serializer, const mip_base_device_info *self)
 
void mip::C::extract_mip_base_device_info (microstrain_serializer *serializer, mip_base_device_info *self)
 
mip_cmd_result mip::C::mip_base_ping (mip_interface *device)
 
mip_cmd_result mip::C::mip_base_set_idle (mip_interface *device)
 
void mip::C::insert_mip_base_get_device_info_response (microstrain_serializer *serializer, const mip_base_get_device_info_response *self)
 
void mip::C::extract_mip_base_get_device_info_response (microstrain_serializer *serializer, mip_base_get_device_info_response *self)
 
mip_cmd_result mip::C::mip_base_get_device_info (mip_interface *device, mip_base_device_info *device_info_out)
 
void mip::C::insert_mip_base_get_device_descriptors_response (microstrain_serializer *serializer, const mip_base_get_device_descriptors_response *self)
 
void mip::C::extract_mip_base_get_device_descriptors_response (microstrain_serializer *serializer, mip_base_get_device_descriptors_response *self)
 
mip_cmd_result mip::C::mip_base_get_device_descriptors (mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count)
 
void mip::C::insert_mip_base_built_in_test_response (microstrain_serializer *serializer, const mip_base_built_in_test_response *self)
 
void mip::C::extract_mip_base_built_in_test_response (microstrain_serializer *serializer, mip_base_built_in_test_response *self)
 
mip_cmd_result mip::C::mip_base_built_in_test (mip_interface *device, uint32_t *result_out)
 
mip_cmd_result mip::C::mip_base_resume (mip_interface *device)
 
void mip::C::insert_mip_base_get_extended_descriptors_response (microstrain_serializer *serializer, const mip_base_get_extended_descriptors_response *self)
 
void mip::C::extract_mip_base_get_extended_descriptors_response (microstrain_serializer *serializer, mip_base_get_extended_descriptors_response *self)
 
mip_cmd_result mip::C::mip_base_get_extended_descriptors (mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count)
 
void mip::C::insert_mip_base_continuous_bit_response (microstrain_serializer *serializer, const mip_base_continuous_bit_response *self)
 
void mip::C::extract_mip_base_continuous_bit_response (microstrain_serializer *serializer, mip_base_continuous_bit_response *self)
 
mip_cmd_result mip::C::mip_base_continuous_bit (mip_interface *device, uint8_t *result_out)
 
void mip::C::insert_mip_base_comm_speed_command (microstrain_serializer *serializer, const mip_base_comm_speed_command *self)
 
void mip::C::extract_mip_base_comm_speed_command (microstrain_serializer *serializer, mip_base_comm_speed_command *self)
 
void mip::C::insert_mip_base_comm_speed_response (microstrain_serializer *serializer, const mip_base_comm_speed_response *self)
 
void mip::C::extract_mip_base_comm_speed_response (microstrain_serializer *serializer, mip_base_comm_speed_response *self)
 
mip_cmd_result mip::C::mip_base_write_comm_speed (mip_interface *device, uint8_t port, uint32_t baud)
 
mip_cmd_result mip::C::mip_base_read_comm_speed (mip_interface *device, uint8_t port, uint32_t *baud_out)
 
mip_cmd_result mip::C::mip_base_save_comm_speed (mip_interface *device, uint8_t port)
 
mip_cmd_result mip::C::mip_base_load_comm_speed (mip_interface *device, uint8_t port)
 
mip_cmd_result mip::C::mip_base_default_comm_speed (mip_interface *device, uint8_t port)
 
void mip::C::insert_mip_base_gps_time_update_command (microstrain_serializer *serializer, const mip_base_gps_time_update_command *self)
 
void mip::C::extract_mip_base_gps_time_update_command (microstrain_serializer *serializer, mip_base_gps_time_update_command *self)
 
mip_cmd_result mip::C::mip_base_write_gps_time_update (mip_interface *device, mip_base_gps_time_update_command_field_id field_id, uint32_t value)
 
mip_cmd_result mip::C::mip_base_soft_reset (mip_interface *device)