Skip to main content

InterfaceConfigSubmessage Struct

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

Declaration

struct point_one::fusion_engine::messages::InterfaceConfigSubmessage { ... }

Included Headers

Public Member Attributes Index

InterfaceIDinterface = InterfaceID(TransportType::CURRENT, 0)

The ID of the interface to be configured or queried. More...

InterfaceConfigTypesubtype = InterfaceConfigType::INVALID

The interface setting to get or set. More...

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(
  interface=InterfaceID(TransportType::SERIAL, 1),
  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 2275 of file configuration.h.

Public Member Attributes

interface

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

The ID of the interface to be configured or queried.

info

TransportType::ALL is not supported.

Definition at line 2282 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 2287 of file configuration.h.

2287 InterfaceConfigType subtype = InterfaceConfigType::INVALID;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.