FaultControlMessage Struct
Enable/disable a specified system fault (MessageType::FAULT_CONTROL, version 1). More...
Declaration
Included Headers
Base struct
| struct | MessagePayload |
|
The base class for all message payloads. More... | |
Public Member Attributes Index
| FaultType | fault_type = FaultType::CLEAR_ALL |
|
The type of fault/control to be performed. More... | |
| uint32_t | payload_length_bytes = 0 |
|
The size of the payload (in bytes). More... | |
Public Static Attributes Index
| static constexpr MessageType | MESSAGE_TYPE = MessageType::FAULT_CONTROL |
| static constexpr uint8_t | MESSAGE_VERSION = 0 |
Description
Enable/disable a specified system fault (MessageType::FAULT_CONTROL, version 1).
This message is followed by an N-byte payload. The size and format of the payload are specified by the fault_type. See FaultType for details. For example, a message with a uint8_t payload will be serialized as follows:
Expected Response
The device will respond with a CommandResponseMessage indicating whether or not the request succeeded.
Definition at line 224 of file fault_control.h.
Public Member Attributes
fault_type
|
The type of fault/control to be performed.
Definition at line 229 of file fault_control.h.
payload_length_bytes
|
The size of the payload (in bytes).
Definition at line 234 of file fault_control.h.
Public Static Attributes
MESSAGE_TYPE
| constexpr static |
Definition at line 225 of file fault_control.h.
MESSAGE_VERSION
| constexpr static |
Definition at line 226 of file fault_control.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.