#include <msp_msg.hpp>
Public Member Functions | |
ApiVersion (FirmwareVariant v) | |
virtual bool | decode (const ByteVector &data) override |
Decode message contents from a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
virtual std::ostream & | print (std::ostream &s) const override |
Public Attributes | |
Value< uint8_t > | major |
Value< uint8_t > | minor |
Value< uint8_t > | protocol |
Cleanflight
Definition at line 405 of file msp_msg.hpp.
msp::msg::ApiVersion::ApiVersion | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 406 of file msp_msg.hpp.
virtual bool msp::msg::ApiVersion::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 414 of file msp_msg.hpp.
virtual ID msp::msg::ApiVersion::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 408 of file msp_msg.hpp.
virtual std::ostream& msp::msg::ApiVersion::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 422 of file msp_msg.hpp.
Value<uint8_t> msp::msg::ApiVersion::major |
Definition at line 411 of file msp_msg.hpp.
Value<uint8_t> msp::msg::ApiVersion::minor |
Definition at line 412 of file msp_msg.hpp.
Value<uint8_t> msp::msg::ApiVersion::protocol |
Definition at line 410 of file msp_msg.hpp.