point_one::fusion_engine::messages::InterfaceConfigSubmessage Struct Reference

Detailed Description

I/O interface parameter configuration submessage (used when sending a SetConfigMessage or GetConfigMessage for ConfigType::INTERFACE_CONFIG).

In SetConfigMessage, GetConfigMessage, and ConfigResponseMessage, this struct can be used to access settings associated with a a particular I/O interface. For example, to set the baudrate for serial port 1:

{
SetConfigMessage(
config_type=INTERFACE_CONFIG),
InterfaceConfigSubmessage(
subtype=BAUD_RATE),
uint32_t 115200
}

This message must be followed by the parameter value to be used:

{MessageHeader, SetConfigMessage, InterfaceConfigSubmessage, Parameter}

See InterfaceConfigType for a complete list of parameters and their data formats.

Definition at line 2264 of file configuration.h.

#include <point_one/fusion_engine/messages/configuration.h>

Public Attributes

InterfaceID interface = InterfaceID(TransportType::CURRENT, 0)
 The ID of the interface to be configured or queried. More...
 
InterfaceConfigType subtype = InterfaceConfigType::INVALID
 The interface setting to get or set. More...
 

Member Data Documentation

◆ interface

InterfaceID point_one::fusion_engine::messages::InterfaceConfigSubmessage::interface = InterfaceID(TransportType::CURRENT, 0)

The ID of the interface to be configured or queried.

Note
TransportType::ALL is not supported.

Definition at line 2271 of file configuration.h.

◆ subtype

InterfaceConfigType point_one::fusion_engine::messages::InterfaceConfigSubmessage::subtype = InterfaceConfigType::INVALID

The interface setting to get or set.

Definition at line 2276 of file configuration.h.


The documentation for this struct was generated from the following file:
@ SERIAL
A serial data interface (e.g.
InterfaceConfigType subtype
The interface setting to get or set.
InterfaceID interface
The ID of the interface to be configured or queried.