MessageRequest Struct
Request transmission of a specified message type, (MessageType::MESSAGE_REQUEST, version 1). More...
Declaration
Included Headers
Base struct
| struct | MessagePayload |
|
The base class for all message payloads. More... | |
Public Member Attributes Index
| MessageType | message_type = MessageType::INVALID |
|
The desired message type. More... | |
Public Static Attributes Index
| static constexpr MessageType | MESSAGE_TYPE = MessageType::MESSAGE_REQUEST |
| static constexpr uint8_t | MESSAGE_VERSION = 0 |
Description
Request transmission of a specified message type, (MessageType::MESSAGE_REQUEST, version 1).
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.
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.
Public Member Attributes
message_type
|
The desired message type.
Definition at line 84 of file control.h.
Public Static Attributes
MESSAGE_TYPE
| constexpr static |
Definition at line 80 of file control.h.
MESSAGE_VERSION
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.