MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
commands_system.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <mip/mip_descriptors.h>
5 #include <mip/mip_result.h>
6 #include <mip/mip_interface.h>
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 #include <stdbool.h>
11 
12 #ifdef __cplusplus
13 namespace mip {
14 namespace C {
15 extern "C" {
16 
17 #endif // __cplusplus
18 
25 
27 // Descriptors
29 
30 enum
31 {
33 
38 
42 };
43 
45 // Shared Type Definitions
47 
52 
54 // Mip Fields
56 
70 
72 {
74  uint8_t mode;
75 };
77 
80 
82 {
83  uint8_t mode;
84 };
86 
89 
91 mip_cmd_result mip_system_read_comm_mode(mip_interface* device, uint8_t* mode_out);
93 
96 
101 #ifdef __cplusplus
102 } // extern "C"
103 } // namespace C
104 } // namespace mip
105 #endif // __cplusplus
106 
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::C::mip_system_read_comm_mode
mip_cmd_result mip_system_read_comm_mode(mip_interface *device, uint8_t *mode_out)
Definition: commands_system.c:68
mip::C::mip_cmd_result
mip_cmd_result
Represents the status of a MIP command.
Definition: mip_result.h:27
mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_GPS
@ MIP_SYSTEM_COMMAND_COMM_MODE_GPS
Definition: commands_system.h:51
mip::C::mip_system_default_comm_mode
mip_cmd_result mip_system_default_comm_mode(mip_interface *device)
Definition: commands_system.c:94
mip::C::MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL_2
@ MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL_2
Definition: commands_system.h:41
mip::C::insert_mip_system_comm_mode_response
void insert_mip_system_comm_mode_response(microstrain_serializer *serializer, const mip_system_comm_mode_response *self)
Definition: commands_system.c:43
mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_IMU
@ MIP_SYSTEM_COMMAND_COMM_MODE_IMU
Definition: commands_system.h:50
mip::C::mip_system_comm_mode_command
Definition: commands_system.h:71
mip::C::mip_system_comm_mode_response
Definition: commands_system.h:81
mip_result.h
mip::C::extract_mip_system_comm_mode_command
void extract_mip_system_comm_mode_command(microstrain_serializer *serializer, mip_system_comm_mode_command *self)
Definition: commands_system.c:32
mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_PASSTHRU
@ MIP_SYSTEM_COMMAND_COMM_MODE_PASSTHRU
Definition: commands_system.h:48
microstrain::C::microstrain_serializer
Structure used for serialization.
Definition: serialization.h:42
mip::C::MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL_2
@ MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL_2
Definition: commands_system.h:37
mip::C::mip_system_comm_mode_command::mode
uint8_t mode
Definition: commands_system.h:74
mip::C::MIP_SYSTEM_COMMAND_COMM_MODE_NORMAL
@ MIP_SYSTEM_COMMAND_COMM_MODE_NORMAL
Definition: commands_system.h:49
mip::C::mip_interface
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
mip::C::MIP_CMD_DESC_SYSTEM_COM_MODE
@ MIP_CMD_DESC_SYSTEM_COM_MODE
Definition: commands_system.h:35
mip::C::extract_mip_system_comm_mode_response
void extract_mip_system_comm_mode_response(microstrain_serializer *serializer, mip_system_comm_mode_response *self)
Definition: commands_system.c:48
mip_interface.h
common.h
mip_descriptors.h
mip::C::MIP_SYSTEM_CMD_DESC_SET
@ MIP_SYSTEM_CMD_DESC_SET
Definition: commands_system.h:32
mip::C::insert_mip_system_comm_mode_command
void insert_mip_system_comm_mode_command(microstrain_serializer *serializer, const mip_system_comm_mode_command *self)
Definition: commands_system.c:22
mip::C::MIP_CMD_DESC_MIPNET_ENUMERATE
@ MIP_CMD_DESC_MIPNET_ENUMERATE
Definition: commands_system.h:34
mip::C::mip_system_write_comm_mode
mip_cmd_result mip_system_write_comm_mode(mip_interface *device, uint8_t mode)
Definition: commands_system.c:54
mip::C::mip_system_comm_mode_response::mode
uint8_t mode
Definition: commands_system.h:83
mip::C::mip_function_selector
mip_function_selector
Definition: mip_descriptors.h:42
mip::C::MIP_REPLY_DESC_SYSTEM_COM_MODE
@ MIP_REPLY_DESC_SYSTEM_COM_MODE
Definition: commands_system.h:39
mip::C::MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL
@ MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL
Definition: commands_system.h:36
mip::C::MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL
@ MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL
Definition: commands_system.h:40