Response to a GetConfigMessage request (MessageType::CONFIG_DATA, version 1.0). More...
#include <point_one/fusion_engine/messages/configuration.h>
Public Attributes | |
bool | active_differs_from_saved = false |
Set to true if the active configuration differs from the saved configuration for this parameter. More... | |
uint8_t | config_change_data [0] |
A pointer to the beginning of the configuration parameter value. More... | |
uint32_t | config_length_bytes = 0 |
The size of the parameter value, config_change_data (in bytes). More... | |
ConfigurationSource | config_source = ConfigurationSource::ACTIVE |
The source of the parameter value (active, saved, etc.). More... | |
ConfigType | config_type = ConfigType::INVALID |
The type of configuration parameter contained in this message. More... | |
Static Public Attributes | |
static constexpr MessageType | MESSAGE_TYPE = MessageType::CONFIG_DATA |
static constexpr uint8_t | MESSAGE_VERSION = 0 |
Response to a GetConfigMessage request (MessageType::CONFIG_DATA, version 1.0).
This message is followed by N
bytes, where N
is equal to config_length_bytes that make up the data associated with config_type. For example if the config_type is ConfigType::UART0_BAUD, the payload will include a single 32-bit unsigned integer:
In response to a GetConfigMessage with an invalid or unsupported ConfigType, config_type in the resulting ConfigDataMessage will be set to ConfigType::INVALID. Note that invalid and rejected requests will receive a ConfigDataMessage, not a CommandResponseMessage.
Definition at line 317 of file configuration.h.
bool point_one::fusion_engine::messages::ConfigDataMessage::active_differs_from_saved = false |
Set to true
if the active configuration differs from the saved configuration for this parameter.
Definition at line 328 of file configuration.h.
uint8_t point_one::fusion_engine::messages::ConfigDataMessage::config_change_data[0] |
A pointer to the beginning of the configuration parameter value.
The size and format of the contents is specified by the config_type. See ConfigType.
Definition at line 344 of file configuration.h.
uint32_t point_one::fusion_engine::messages::ConfigDataMessage::config_length_bytes = 0 |
The size of the parameter value, config_change_data (in bytes).
Definition at line 336 of file configuration.h.
ConfigurationSource point_one::fusion_engine::messages::ConfigDataMessage::config_source = ConfigurationSource::ACTIVE |
The source of the parameter value (active, saved, etc.).
Definition at line 322 of file configuration.h.
ConfigType point_one::fusion_engine::messages::ConfigDataMessage::config_type = ConfigType::INVALID |
The type of configuration parameter contained in this message.
Definition at line 331 of file configuration.h.
|
staticconstexpr |
Definition at line 318 of file configuration.h.
|
staticconstexpr |
Definition at line 319 of file configuration.h.