Skip to main content

VersionInfoMessage Struct

Software version information, (MessageType::VERSION_INFO, version 1). More...

Declaration

struct point_one::fusion_engine::messages::VersionInfoMessage { ... }

Included Headers

Base struct

structMessagePayload

The base class for all message payloads. More...

Public Member Attributes Index

uint8_tengine_version_length = 0

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

uint8_tfw_version_length = 0

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

uint8_tos_version_length = 0

The length of the OS version string (in bytes). More...

uint8_trx_version_length = 0

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

int64_tsystem_time_ns = 0

The current system timestamp (in ns). More...

Public Static Attributes Index

static constexpr MessageTypeMESSAGE_TYPE = MessageType::VERSION_INFO
static constexpr uint8_tMESSAGE_VERSION = 0

Description

Software version information, (MessageType::VERSION_INFO, version 1).

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
  • OS - The version of the operating system/kernel/bootloader 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",
  "OS Version", "Receiver Version"}

The following is an example of extracting the firmware and engine version strings from a byte array containing the entire message:

 auto message = *reinterpret_cast<const VersionInfoMessage*>(buffer);
 buffer += sizeof(VersionInfoMessage);
 std::string fw_version(buffer, message.fw_version_length);
 buffer += message.fw_version_length;
 std::string engine_version(buffer, message.engine_version_length);

Definition at line 63 of file device.h.

Public Member Attributes

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 74 of file device.h.

74 uint8_t engine_version_length = 0;

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 71 of file device.h.

71 uint8_t fw_version_length = 0;

os_version_length

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

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

Definition at line 77 of file device.h.

77 uint8_t os_version_length = 0;

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 80 of file device.h.

80 uint8_t rx_version_length = 0;

system_time_ns

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

The current system timestamp (in ns).

Definition at line 68 of file device.h.

68 int64_t system_time_ns = 0;

Public Static Attributes

MESSAGE_TYPE

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

Definition at line 64 of file device.h.

64 static constexpr MessageType MESSAGE_TYPE = MessageType::VERSION_INFO;

MESSAGE_VERSION

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

Definition at line 65 of file device.h.

65 static constexpr uint8_t MESSAGE_VERSION = 0;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.