point_one::fusion_engine::messages::DeviceIDMessage Struct Reference

Detailed Description

Device identifier information (MessageType::DEVICE_ID, version 1.0).

This message contains ID data for each of the following, where available:

  • HW - A unique ROM identifier pulled from the device HW (for example, a CPU serial number)
  • User - A value set by the user to identify a device
  • Receiver - A unique ROM identifier pulled from the GNSS receiver

The message payload specifies the length of each string (in bytes). It is followed by each of the listed IDs consecutively. The values are not null terminated and the way each field is populated (strings or binary) depends on the type of device, indicated by device_type.

{MessageHeader, VersionInfoMessage, "HW ID", "User ID", "Receiver ID"}

Definition at line 441 of file control.h.

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

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

Public Attributes

DeviceType device_type = DeviceType::UNKNOWN
 The type of device this message originated from. More...
 
uint8_t hw_id_length = 0
 The length of the HW ID (in bytes). More...
 
uint8_t receiver_id_length = 0
 The length of the GNSS receiver ID (in bytes). More...
 
int64_t system_time_ns = 0
 The current system timestamp (in ns). More...
 
uint8_t user_id_length = 0
 The length of the user specified ID (in bytes). More...
 

Static Public Attributes

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

Member Data Documentation

◆ device_type

DeviceType point_one::fusion_engine::messages::DeviceIDMessage::device_type = DeviceType::UNKNOWN

The type of device this message originated from.

Definition at line 449 of file control.h.

◆ hw_id_length

uint8_t point_one::fusion_engine::messages::DeviceIDMessage::hw_id_length = 0

The length of the HW ID (in bytes).

Definition at line 452 of file control.h.

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::DeviceIDMessage::MESSAGE_TYPE = MessageType::DEVICE_ID
staticconstexpr

Definition at line 442 of file control.h.

◆ MESSAGE_VERSION

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

Definition at line 443 of file control.h.

◆ receiver_id_length

uint8_t point_one::fusion_engine::messages::DeviceIDMessage::receiver_id_length = 0

The length of the GNSS receiver ID (in bytes).

Definition at line 458 of file control.h.

◆ system_time_ns

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

The current system timestamp (in ns).

Definition at line 446 of file control.h.

◆ user_id_length

uint8_t point_one::fusion_engine::messages::DeviceIDMessage::user_id_length = 0

The length of the user specified ID (in bytes).

Definition at line 455 of file control.h.


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