MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Enumerations | Functions
(0x01,0x09) Comm Speed

Controls the baud rate of a specific port on the device. More...

Classes

struct  mip::C::mip_base_comm_speed_command
 
struct  mip::C::mip_base_comm_speed_response
 

Typedefs

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
 

Enumerations

enum  { mip::C::MIP_BASE_COMM_SPEED_COMMAND_ALL_PORTS = 0 }
 

Functions

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)
 

Detailed Description

Controls the baud rate of a specific port on the device.

Please see the device user manual for supported baud rates on each port.

The device will wait until all incoming and outgoing data has been sent, up to a maximum of 250 ms, before applying any change.

No guarantee is provided as to what happens to commands issued during this delay period; They may or may not be processed and any responses aren't guaranteed to be at one rate or the other. The same applies to data packets.

It is highly recommended that the device be idle before issuing this command and that it be issued in its own packet. Users should wait 250 ms after sending this command before further interaction.

Typedef Documentation

◆ mip_base_comm_speed_command

◆ mip_base_comm_speed_response

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MIP_BASE_COMM_SPEED_COMMAND_ALL_PORTS 

Function Documentation

◆ extract_mip_base_comm_speed_command()

void mip::C::extract_mip_base_comm_speed_command ( microstrain_serializer serializer,
mip_base_comm_speed_command self 
)

◆ extract_mip_base_comm_speed_response()

void mip::C::extract_mip_base_comm_speed_response ( microstrain_serializer serializer,
mip_base_comm_speed_response self 
)

◆ insert_mip_base_comm_speed_command()

void mip::C::insert_mip_base_comm_speed_command ( microstrain_serializer serializer,
const mip_base_comm_speed_command self 
)

◆ insert_mip_base_comm_speed_response()

void mip::C::insert_mip_base_comm_speed_response ( microstrain_serializer serializer,
const mip_base_comm_speed_response self 
)

◆ mip_base_default_comm_speed()

mip_cmd_result mip::C::mip_base_default_comm_speed ( mip_interface device,
uint8_t  port 
)

◆ mip_base_load_comm_speed()

mip_cmd_result mip::C::mip_base_load_comm_speed ( mip_interface device,
uint8_t  port 
)

◆ mip_base_read_comm_speed()

mip_cmd_result mip::C::mip_base_read_comm_speed ( mip_interface device,
uint8_t  port,
uint32_t *  baud_out 
)

◆ mip_base_save_comm_speed()

mip_cmd_result mip::C::mip_base_save_comm_speed ( mip_interface device,
uint8_t  port 
)

◆ mip_base_write_comm_speed()

mip_cmd_result mip::C::mip_base_write_comm_speed ( mip_interface device,
uint8_t  port,
uint32_t  baud 
)