|
Motion Master
|
#include <spoe.h>
Public Attributes | |
| SpoeMessageType | type |
| The type of the response message. | |
| uint16_t | id |
| The sequence ID of the response message. | |
| uint16_t | status |
| The status of the response message. | |
| uint16_t | size |
| The size of the buffer in the response message. | |
| std::vector< uint8_t > | data |
| The payload data of the response message. | |
Static Public Attributes | |
| static constexpr size_t | kHeaderSize = 7 |
| static constexpr size_t | kBufferSize = 1500 - kHeaderSize |
| std::vector<uint8_t> mm::comm::spoe::Message::data |
The payload data of the response message.
This vector contains the raw data of the response message, excluding the header fields.
| uint16_t mm::comm::spoe::Message::id |
The sequence ID of the response message.
This is a two-byte field that contains the unique sequence ID of the response message.
|
staticconstexpr |
The buffer size used for communication, excluding the message header.
|
staticconstexpr |
The size of the message header.
| uint16_t mm::comm::spoe::Message::size |
The size of the buffer in the response message.
This is a two-byte field that specifies the size of the data buffer in the response message.
| uint16_t mm::comm::spoe::Message::status |
The status of the response message.
This is a two-byte field that contains the status code of the response message.
| SpoeMessageType mm::comm::spoe::Message::type |
The type of the response message.
This is a one-byte field representing the type of the response.