#include <msp_msg.hpp>
Public Member Functions | |
DataflashSummary (FirmwareVariant v) | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
Public Member Functions inherited from msp::Message | |
virtual ByteVectorUptr | encode () const |
Encode all data into a ByteVector. More... | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
virtual std::ostream & | print (std::ostream &s) const |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Public Attributes | |
bool | flash_is_ready |
Value< uint32_t > | offset |
Value< uint32_t > | sectors |
Value< uint32_t > | total_size |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 1817 of file msp_msg.hpp.
|
inline |
Definition at line 1818 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 1827 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 1820 of file msp_msg.hpp.
bool msp::msg::DataflashSummary::flash_is_ready |
Definition at line 1822 of file msp_msg.hpp.
Value<uint32_t> msp::msg::DataflashSummary::offset |
Definition at line 1825 of file msp_msg.hpp.
Value<uint32_t> msp::msg::DataflashSummary::sectors |
Definition at line 1823 of file msp_msg.hpp.
Value<uint32_t> msp::msg::DataflashSummary::total_size |
Definition at line 1824 of file msp_msg.hpp.