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

Detailed Description

A submessage header for configuration data associated with the ConfigType::INTERFACE_CONFIG.

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

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

Definition at line 2521 of file configuration.h.

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

Public Attributes

InterfaceID interface = InterfaceID(TransportType::CURRENT, 0)
 The interface ID to target. More...
 
InterfaceConfigType subtype = InterfaceConfigType::INVALID
 The interface setting to get/set/describe. More...
 

Member Data Documentation

◆ interface

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

The interface ID to target.

Note
TransportType::ALL is not supported.

Definition at line 2528 of file configuration.h.

◆ subtype

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

The interface setting to get/set/describe.

Definition at line 2533 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/set/describe.
InterfaceID interface
The interface ID to target.