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

Detailed Description

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

This message must be followed by data_length_bytes bytes containing the data to be imported:

{MessageHeader, ImportDataMessage, Payload[data_length_bytes]}

Expected Response

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

Definition at line 1410 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 1427 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 1416 of file configuration.h.

◆ data_version

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

Version of data contents.

Definition at line 1424 of file configuration.h.

◆ MESSAGE_TYPE

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

Definition at line 1411 of file configuration.h.

◆ MESSAGE_VERSION

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

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


The documentation for this struct was generated from the following file:
uint32_t data_length_bytes
Number of bytes to update.