point_one::fusion_engine::messages::MessageRequest Struct Reference

Detailed Description

Request transmission of a specified message type, (MessageType::MESSAGE_REQUEST, version 1.0).

On success, the device will output the requested message type.

Not all message types may be requested explicitly. If a message type cannot be requested on demand or is not supported, the device will respond with a Response::UNSUPPORTED_FEATURE message.

Note
The generated response may not immediately follow the request if other outbound messages are already enqueued to be sent.

Expected Response

The requested message type, or CommandResponseMessage on error.

Definition at line 79 of file control.h.

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

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

Public Attributes

MessageType message_type = MessageType::INVALID
 The desired message type. More...
 

Static Public Attributes

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

Member Data Documentation

◆ MESSAGE_TYPE

constexpr MessageType point_one::fusion_engine::messages::MessageRequest::MESSAGE_TYPE = MessageType::MESSAGE_REQUEST
staticconstexpr

Definition at line 80 of file control.h.

◆ message_type

MessageType point_one::fusion_engine::messages::MessageRequest::message_type = MessageType::INVALID

The desired message type.

Definition at line 84 of file control.h.

◆ MESSAGE_VERSION

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

Definition at line 81 of file control.h.


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