MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip_cmd_result mip_system_read_comm_mode(mip_interface *device, uint8_t *mode_out)
Definition: commands_system.c:68
uint32_t mip_comms_protocol
Definition: commands_system.h:77
mip_comms_interface
Definition: commands_system.h:54
void extract_mip_system_interface_control_command(microstrain_serializer *serializer, mip_system_interface_control_command *self)
Definition: commands_system.c:120
@ MIP_COMMS_INTERFACE_UART_3
Definition: commands_system.h:60
mip_cmd_result
Represents the status of a MIP command.
Definition: mip_result.h:27
@ MIP_COMMS_INTERFACE_UART_1
Depending on your device, this may mean either the first UART currently configured,...
Definition: commands_system.h:58
@ MIP_SYSTEM_COMMAND_COMM_MODE_GPS
Definition: commands_system.h:53
mip_cmd_result mip_system_default_comm_mode(mip_interface *device)
Definition: commands_system.c:94
@ MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL_2
Definition: commands_system.h:42
void microstrain_extract_u32(microstrain_serializer *serializer, uint32_t *value)
mip_cmd_result mip_system_read_interface_control(mip_interface *device, mip_comms_interface port, mip_comms_protocol *protocols_incoming_out, mip_comms_protocol *protocols_outgoing_out)
Definition: commands_system.c:172
void insert_mip_system_comm_mode_response(microstrain_serializer *serializer, const mip_system_comm_mode_response *self)
Definition: commands_system.c:43
@ MIP_SYSTEM_COMMAND_COMM_MODE_IMU
Definition: commands_system.h:52
void extract_mip_system_interface_control_response(microstrain_serializer *serializer, mip_system_interface_control_response *self)
Definition: commands_system.c:144
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.
Definition: commands_system.h:115
Definition: commands_system.h:125
mip_cmd_result mip_system_default_interface_control(mip_interface *device, mip_comms_interface port)
Definition: commands_system.c:233
void extract_mip_system_comm_mode_command(microstrain_serializer *serializer, mip_system_comm_mode_command *self)
Definition: commands_system.c:32
void microstrain_extract_u8(microstrain_serializer *serializer, uint8_t *value)
@ MIP_SYSTEM_COMMAND_COMM_MODE_PASSTHRU
Definition: commands_system.h:50
void microstrain_insert_u32(microstrain_serializer *serializer, uint32_t value)
void insert_mip_system_interface_control_command(microstrain_serializer *serializer, const mip_system_interface_control_command *self)
Definition: commands_system.c:106
mip_comms_interface port
Which physical interface is being selected (USB, serial, etc)
Definition: commands_system.h:173
Structure used for serialization.
Definition: serialization.h:42
@ MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL_2
Definition: commands_system.h:38
uint8_t mode
Definition: commands_system.h:118
void microstrain_insert_u8(microstrain_serializer *serializer, uint8_t value)
@ MIP_SYSTEM_COMMAND_COMM_MODE_NORMAL
Definition: commands_system.h:51
Definition: commands_system.h:159
@ MIP_COMMS_INTERFACE_ALL
Definition: commands_system.h:56
@ MIP_REPLY_DESC_SYSTEM_INTERFACE_CONTROL
Definition: commands_system.h:43
@ MIP_COMMS_INTERFACE_UART_2
Definition: commands_system.h:59
@ MIP_COMMS_INTERFACE_MAIN
An alias that directs to Main USB if it's connected, or Main UART otherwise.
Definition: commands_system.h:57
mip_comms_interface port
Which physical interface is being selected (USB, serial, etc)
Definition: commands_system.h:162
mip_cmd_result mip_system_write_interface_control(mip_interface *device, mip_comms_interface port, mip_comms_protocol protocols_incoming, mip_comms_protocol protocols_outgoing)
Definition: commands_system.c:154
mip_comms_protocol protocols_incoming
Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses,...
Definition: commands_system.h:163
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
@ MIP_CMD_DESC_SYSTEM_COM_MODE
Definition: commands_system.h:36
void extract_mip_system_comm_mode_response(microstrain_serializer *serializer, mip_system_comm_mode_response *self)
Definition: commands_system.c:48
mip_comms_protocol protocols_outgoing
Data protocol(s) the port will output.
Definition: commands_system.h:164
mip_comms_protocol protocols_outgoing
Data protocol(s) the port will output.
Definition: commands_system.h:175
@ MIP_COMMS_INTERFACE_USB_1
The first virtual serial port over USB (ie. COM5)
Definition: commands_system.h:61
void insert_mip_system_interface_control_response(microstrain_serializer *serializer, const mip_system_interface_control_response *self)
Definition: commands_system.c:135
@ MIP_CMD_DESC_SYSTEM_INTERFACE_CONTROL
Definition: commands_system.h:35
Definition: commands_system.h:171
mip_cmd_result mip_system_load_interface_control(mip_interface *device, mip_comms_interface port)
Definition: commands_system.c:219
@ MIP_SYSTEM_CMD_DESC_SET
Definition: commands_system.h:32
void insert_mip_system_comm_mode_command(microstrain_serializer *serializer, const mip_system_comm_mode_command *self)
Definition: commands_system.c:22
@ MIP_CMD_DESC_MIPNET_ENUMERATE
Definition: commands_system.h:34
@ MIP_COMMS_INTERFACE_USB_2
The second virtual serial port over USB (ie. COM6), only available on GNSS/INS devices....
Definition: commands_system.h:62
mip_cmd_result mip_system_write_comm_mode(mip_interface *device, uint8_t mode)
Definition: commands_system.c:54
uint8_t mode
Definition: commands_system.h:127
mip_function_selector
Definition: mip_descriptors.h:42
@ MIP_REPLY_DESC_SYSTEM_COM_MODE
Definition: commands_system.h:40
mip_cmd_result mip_system_save_interface_control(mip_interface *device, mip_comms_interface port)
Definition: commands_system.c:205
@ MIP_CMD_DESC_SYSTEM_HARDWARE_CONTROL
Definition: commands_system.h:37
@ MIP_REPLY_DESC_SYSTEM_HARDWARE_CONTROL
Definition: commands_system.h:41
mip_comms_protocol protocols_incoming
Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses,...
Definition: commands_system.h:174