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 1653 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 1670 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 1659 of file configuration.h.

◆ data_version

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

Version of data contents.

Definition at line 1667 of file configuration.h.

◆ MESSAGE_TYPE

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

Definition at line 1654 of file configuration.h.

◆ MESSAGE_VERSION

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

Definition at line 1655 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 1664 of file configuration.h.


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