ShutdownRequest Struct
Perform a device shutdown (MessageType::SHUTDOWN_REQUEST, version 1). More...
Declaration
Included Headers
Base struct
| struct | MessagePayload |
|
The base class for all message payloads. More... | |
Public Member Attributes Index
| uint64_t | shutdown_flags = 0 |
|
A bitmask of flags associated with the event. More... | |
Public Static Attributes Index
| static constexpr MessageType | MESSAGE_TYPE = MessageType::SHUTDOWN_REQUEST |
| static constexpr uint8_t | MESSAGE_VERSION = 0 |
| static constexpr uint64_t | STOP_CURRENT_LOG = 0x0000000000000002 |
|
If a log is being generated, end that log. More... | |
| static constexpr uint64_t | STOP_ENGINE = 0x0000000000000001 |
|
Stop navigation engine and flush state to non-volatile storage. More... | |
Description
Perform a device shutdown (MessageType::SHUTDOWN_REQUEST, version 1).
Expected Response
The device will respond with a CommandResponseMessage indicating whether or not the request succeeded.
Definition at line 334 of file control.h.
Public Member Attributes
shutdown_flags
|
A bitmask of flags associated with the event.
For backwards compatibility, a value of 0 is treated as if the STOP_ENGINE bit is set (1).
Public Static Attributes
MESSAGE_TYPE
| constexpr static |
Definition at line 335 of file control.h.
MESSAGE_VERSION
| constexpr static |
STOP_CURRENT_LOG
| constexpr static |
STOP_ENGINE
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.