Message for reporting platform storage data (MessageType::PLATFORM_STORAGE_DATA, version 1.0).
This message will be followed by data_length_bytes bytes containing the data storage contents:
See also ExportDataMessage.
Changes:
data_validity
field.Definition at line 1473 of file configuration.h.
#include <point_one/fusion_engine/messages/configuration.h>
Public Attributes | |
uint32_t | data_length_bytes = 0 |
Number of bytes in data contents. More... | |
DataType | data_type = DataType::INVALID |
The type of data contained in this message. More... | |
DataVersion | data_version |
Version of data contents. More... | |
uint8_t | flags = 0 |
DataType specific flags. More... | |
Response | response = Response::OK |
The status of the specified data type on the device. More... | |
ConfigurationSource | source = ConfigurationSource::ACTIVE |
The source this data was copied from. More... | |
Static Public Attributes | |
static constexpr uint8_t | FLAG_USER_CONFIG_PLATFORM_EMBEDDED = 2 |
DataType::USER_CONFIG flag for embedded platforms. More... | |
static constexpr uint8_t | FLAG_USER_CONFIG_PLATFORM_EMBEDDED_SSR = 3 |
DataType::USER_CONFIG flag for embedded SSR platforms. More... | |
static constexpr uint8_t | FLAG_USER_CONFIG_PLATFORM_NOT_SPECIFIED = 0 |
DataType::USER_CONFIG flag field is not set. More... | |
static constexpr uint8_t | FLAG_USER_CONFIG_PLATFORM_POSIX = 1 |
DataType::USER_CONFIG flag for POSIX platforms. More... | |
static constexpr uint8_t | FLAG_USER_CONFIG_SSR_CLIENT = 254 |
DataType::USER_CONFIG flag for the SSR client library. More... | |
static constexpr MessageType | MESSAGE_TYPE |
static constexpr uint8_t | MESSAGE_VERSION = 3 |
uint32_t point_one::fusion_engine::messages::PlatformStorageDataMessage::data_length_bytes = 0 |
Number of bytes in data contents.
Definition at line 1516 of file configuration.h.
DataType point_one::fusion_engine::messages::PlatformStorageDataMessage::data_type = DataType::INVALID |
The type of data contained in this message.
Definition at line 1492 of file configuration.h.
DataVersion point_one::fusion_engine::messages::PlatformStorageDataMessage::data_version |
Version of data contents.
Definition at line 1514 of file configuration.h.
|
staticconstexpr |
DataType::USER_CONFIG flag for embedded platforms.
Definition at line 1483 of file configuration.h.
|
staticconstexpr |
DataType::USER_CONFIG flag for embedded SSR platforms.
Definition at line 1485 of file configuration.h.
|
staticconstexpr |
DataType::USER_CONFIG flag field is not set.
Definition at line 1479 of file configuration.h.
|
staticconstexpr |
DataType::USER_CONFIG flag for POSIX platforms.
Definition at line 1481 of file configuration.h.
|
staticconstexpr |
DataType::USER_CONFIG flag for the SSR client library.
Definition at line 1487 of file configuration.h.
uint8_t point_one::fusion_engine::messages::PlatformStorageDataMessage::flags = 0 |
DataType specific flags.
Currently, only defined for DataType::USER_CONFIG contents. This value can optionally set to one of the FLAG_USER_CONFIG_PLATFORM_*
values to indicate which type of platform the UserConfig is valid for. This value can be left at 0
for backwards compatibility or to indicate the platform type is unknown.
Definition at line 1512 of file configuration.h.
|
staticconstexpr |
Definition at line 1474 of file configuration.h.
|
staticconstexpr |
Definition at line 1476 of file configuration.h.
Response point_one::fusion_engine::messages::PlatformStorageDataMessage::response = Response::OK |
The status of the specified data type on the device.
Definition at line 1496 of file configuration.h.
ConfigurationSource point_one::fusion_engine::messages::PlatformStorageDataMessage::source = ConfigurationSource::ACTIVE |
The source this data was copied from.
If the data_type doesn't separate active and saved data, this will be set to ConfigurationSource::ACTIVE.
Definition at line 1502 of file configuration.h.