point_one::fusion_engine::messages::ImportDataMessage Struct Reference

Detailed Description

Import data from the host to the device (MessageType::IMPORT_DATA, version 1.0).

Expected Response

The device will respond with a CommandResponseMessage indicating whether or not the request succeeded.

Definition at line 1895 of file configuration.h.

#include <point_one/fusion_engine/messages/configuration.h>

Public Attributes

uint32_t data_length_bytes = 0
 Number of bytes to update. More...
 
DataType data_type = DataType::INVALID
 The type of data being imported. More...
 
DataVersion data_version
 Version of data contents. More...
 
ConfigurationSource source = ConfigurationSource::ACTIVE
 The location of the data to update (active, saved, etc.). More...
 

Static Public Attributes

static constexpr MessageType MESSAGE_TYPE = MessageType::IMPORT_DATA
 
static constexpr uint8_t MESSAGE_VERSION = 0
 

Member Data Documentation

◆ data_length_bytes

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

Number of bytes to update.

Definition at line 1912 of file configuration.h.

◆ data_type

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

The type of data being imported.

Definition at line 1901 of file configuration.h.

◆ data_version

DataVersion point_one::fusion_engine::messages::ImportDataMessage::data_version

Version of data contents.

Definition at line 1909 of file configuration.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::ImportDataMessage::MESSAGE_TYPE = MessageType::IMPORT_DATA
staticconstexpr

Definition at line 1896 of file configuration.h.

◆ MESSAGE_VERSION

constexpr uint8_t point_one::fusion_engine::messages::ImportDataMessage::MESSAGE_VERSION = 0
staticconstexpr

Definition at line 1897 of file configuration.h.

◆ source

ConfigurationSource point_one::fusion_engine::messages::ImportDataMessage::source = ConfigurationSource::ACTIVE

The location of the data to update (active, saved, etc.).

For data that doesn't have separate active and saved copies, this parameter is ignored.

Definition at line 1906 of file configuration.h.


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