Set a user configuration parameter (MessageType::SET_CONFIG, version 1.0). More...
#include <point_one/fusion_engine/messages/configuration.h>
Public Attributes | |
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... | |
ConfigType | config_type |
The type of parameter to be configured. More... | |
uint8_t | flags = 0 |
Bitmask of additional flags to modify the command. More... | |
Static Public Attributes | |
static constexpr uint8_t | FLAG_APPLY_AND_SAVE = 0x01 |
Flag to immediately save the config after applying this setting. More... | |
static constexpr MessageType | MESSAGE_TYPE = MessageType::SET_CONFIG |
static constexpr uint8_t | MESSAGE_VERSION = 0 |
Set a user configuration parameter (MessageType::SET_CONFIG, version 1.0).
The format of the parameter value, config_change_data, is defined by the the specified config_type (ConfigType). For example, an antenna lever arm definition may require three 32-bit float
values, one for each axis, while a serial port baud rate may be specified as single 32-bit unsigned integer (uint32_t
).
The device will respond with a CommandResponseMessage indicating whether or not the request was accepted. Not all parameters defined in ConfigType are supported on all devices.
Parameter changes are applied to the device's active configuration immediately, but are not saved to persistent storage and will be restored to their previous values on reset. To save configuration settings to persistent storage, see SaveConfigMessage.
Definition at line 299 of file configuration.h.
uint8_t point_one::fusion_engine::messages::SetConfigMessage::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 323 of file configuration.h.
uint32_t point_one::fusion_engine::messages::SetConfigMessage::config_length_bytes = 0 |
The size of the parameter value, config_change_data (in bytes).
Definition at line 315 of file configuration.h.
ConfigType point_one::fusion_engine::messages::SetConfigMessage::config_type |
The type of parameter to be configured.
Definition at line 307 of file configuration.h.
|
staticconstexpr |
Flag to immediately save the config after applying this setting.
Definition at line 304 of file configuration.h.
uint8_t point_one::fusion_engine::messages::SetConfigMessage::flags = 0 |
Bitmask of additional flags to modify the command.
Definition at line 310 of file configuration.h.
|
staticconstexpr |
Definition at line 300 of file configuration.h.
|
staticconstexpr |
Definition at line 301 of file configuration.h.