Requests (1xx) More...
#include <msp_msg.hpp>
Public Member Functions | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. More... | |
bool | has (const Capability &cap) const |
bool | hasBind () const |
bool | hasDynBal () const |
bool | hasFlap () const |
virtual ID | id () const override |
get the ID of the message More... | |
Ident (FirmwareVariant v) | |
virtual std::ostream & | print (std::ostream &s) const override |
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... | |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Public Attributes | |
std::set< Capability > | capabilities |
Value< uint8_t > | msp_version |
MultiType | type |
Value< uint8_t > | version |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Requests (1xx)
Definition at line 2590 of file msp_msg.hpp.
|
inline |
Definition at line 2591 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2600 of file msp_msg.hpp.
|
inline |
Definition at line 2619 of file msp_msg.hpp.
|
inline |
Definition at line 2621 of file msp_msg.hpp.
|
inline |
Definition at line 2623 of file msp_msg.hpp.
|
inline |
Definition at line 2625 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 2593 of file msp_msg.hpp.
|
inlineoverridevirtual |
Reimplemented from msp::Message.
Definition at line 2627 of file msp_msg.hpp.
std::set<Capability> msp::msg::Ident::capabilities |
Definition at line 2598 of file msp_msg.hpp.
Value<uint8_t> msp::msg::Ident::msp_version |
Definition at line 2597 of file msp_msg.hpp.
MultiType msp::msg::Ident::type |
Definition at line 2596 of file msp_msg.hpp.
Value<uint8_t> msp::msg::Ident::version |
Definition at line 2595 of file msp_msg.hpp.