point_one::fusion_engine::messages::PlatformStorageDataMessage Struct Reference

Detailed Description

Message for reporting platform storage data (MessageType::PLATFORM_STORAGE_DATA, version 1.0).

See also ExportDataMessage.

Changes:

  • Version 1: Added data_validity field.
  • Version 2: Changed data_validity to a Response enum and added source field.

Definition at line 2468 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...
 
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 MessageType MESSAGE_TYPE
 
static constexpr uint8_t MESSAGE_VERSION = 2
 

Member Data Documentation

◆ data_length_bytes

uint32_t point_one::fusion_engine::messages::PlatformStorageDataMessage::data_length_bytes = 0

Number of bytes in data contents.

Definition at line 2491 of file configuration.h.

◆ data_type

DataType point_one::fusion_engine::messages::PlatformStorageDataMessage::data_type = DataType::INVALID

The type of data contained in this message.

Definition at line 2476 of file configuration.h.

◆ data_version

DataVersion point_one::fusion_engine::messages::PlatformStorageDataMessage::data_version

Version of data contents.

Definition at line 2489 of file configuration.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::PlatformStorageDataMessage::MESSAGE_TYPE
staticconstexpr
Initial value:

Definition at line 2469 of file configuration.h.

◆ MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::PlatformStorageDataMessage::MESSAGE_VERSION = 2
staticconstexpr

Definition at line 2471 of file configuration.h.

◆ response

Response point_one::fusion_engine::messages::PlatformStorageDataMessage::response = Response::OK

The status of the specified data type on the device.

Definition at line 2480 of file configuration.h.

◆ source

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


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