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 2009 of file configuration.h.

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

Public Attributes

uint8_t config_data [0]
 A pointer to the beginning of the configuration parameter value if setting/describing. More...
 
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

◆ config_data

uint8_t point_one::fusion_engine::messages::InterfaceConfigSubmessage::config_data[0]

A pointer to the beginning of the configuration parameter value if setting/describing.

The size and format of the contents is specified by the subtype. See InterfaceConfigType.

Definition at line 2032 of file configuration.h.

◆ 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 2016 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 2021 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.