point_one::fusion_engine::messages::VersionInfoMessage Struct Reference

Detailed Description

Software and hardware version information, (MessageType::VERSION_INFO, version 1.0).

This message contains version strings for each of the following, where available:

  • Firmware - The current version of the platform software/firmware being used
  • Engine - The version of Point One FusionEngine being used
  • Hardware - The version of the platform hardware being used
  • GNSS Receiver - The version of firmware being used by the device's GNSS receiver

The message payload specifies the length of each string (in bytes). It is followed by each of the listed version strings consecutively. The strings are not null terminated.

{MessageHeader, VersionInfoMessage, "Firmware Version", "Engine Version",
"Hardware Version", "Receiver Version"}

Definition at line 344 of file control.h.

Inheritance diagram for point_one::fusion_engine::messages::VersionInfoMessage:
point_one::fusion_engine::messages::MessagePayload

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

Public Attributes

uint8_t engine_version_length = 0
 The length of the FusionEngine version string (in bytes). More...
 
uint8_t fw_version_length = 0
 The length of the firmware version string (in bytes). More...
 
char fw_version_str [0]
 The beginning of the firmware version string. More...
 
uint8_t hw_version_length = 0
 The length of the hardware version string (in bytes). More...
 
uint8_t rx_version_length = 0
 The length of the GNSS receiver version string (in bytes). More...
 
int64_t system_time_ns = 0
 The current system timestamp (in ns). More...
 

Static Public Attributes

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

Member Data Documentation

◆ engine_version_length

uint8_t point_one::fusion_engine::messages::VersionInfoMessage::engine_version_length = 0

The length of the FusionEngine version string (in bytes).

Definition at line 355 of file control.h.

◆ fw_version_length

uint8_t point_one::fusion_engine::messages::VersionInfoMessage::fw_version_length = 0

The length of the firmware version string (in bytes).

Definition at line 352 of file control.h.

◆ fw_version_str

char point_one::fusion_engine::messages::VersionInfoMessage::fw_version_str[0]

The beginning of the firmware version string.

All other version strings follow immediately after this one in the data buffer. For example, the FusionEngine version string can be obtained as follows:

std::string engine_version_str(
fw_version_str + message.fw_version_length,
message.engine_version_length);

Definition at line 377 of file control.h.

◆ hw_version_length

uint8_t point_one::fusion_engine::messages::VersionInfoMessage::hw_version_length = 0

The length of the hardware version string (in bytes).

Definition at line 358 of file control.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::VersionInfoMessage::MESSAGE_TYPE = MessageType::VERSION_INFO
staticconstexpr

Definition at line 345 of file control.h.

◆ MESSAGE_VERSION

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

Definition at line 346 of file control.h.

◆ rx_version_length

uint8_t point_one::fusion_engine::messages::VersionInfoMessage::rx_version_length = 0

The length of the GNSS receiver version string (in bytes).

Definition at line 361 of file control.h.

◆ system_time_ns

int64_t point_one::fusion_engine::messages::VersionInfoMessage::system_time_ns = 0

The current system timestamp (in ns).

Definition at line 349 of file control.h.


The documentation for this struct was generated from the following file:
char fw_version_str[0]
The beginning of the firmware version string.
Definition: control.h:377