Software 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
- 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.