#include <msp_msg.hpp>
Public Member Functions | |
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... | |
OsdConfig (FirmwareVariant v) | |
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 | |
Value< uint16_t > | alt_alarm |
Value< uint16_t > | battery_cap_warn |
Value< uint16_t > | dist_alarm |
std::array< uint16_t, OSD_ITEM_COUNT > | item_pos |
Value< uint16_t > | neg_alt_alarm |
Value< uint8_t > | osd_flags |
Value< uint8_t > | rssi_alarm |
Value< uint16_t > | time_alarm |
Value< uint8_t > | units |
Value< uint8_t > | video_system |
Additional Inherited Members | |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 2151 of file msp_msg.hpp.
|
inline |
Definition at line 2152 of file msp_msg.hpp.
|
inlineoverridevirtual |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 2167 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 2154 of file msp_msg.hpp.
Value<uint16_t> msp::msg::OsdConfig::alt_alarm |
Definition at line 2162 of file msp_msg.hpp.
Value<uint16_t> msp::msg::OsdConfig::battery_cap_warn |
Definition at line 2160 of file msp_msg.hpp.
Value<uint16_t> msp::msg::OsdConfig::dist_alarm |
Definition at line 2163 of file msp_msg.hpp.
std::array<uint16_t, OSD_ITEM_COUNT> msp::msg::OsdConfig::item_pos |
Definition at line 2165 of file msp_msg.hpp.
Value<uint16_t> msp::msg::OsdConfig::neg_alt_alarm |
Definition at line 2164 of file msp_msg.hpp.
Value<uint8_t> msp::msg::OsdConfig::osd_flags |
Definition at line 2156 of file msp_msg.hpp.
Value<uint8_t> msp::msg::OsdConfig::rssi_alarm |
Definition at line 2159 of file msp_msg.hpp.
Value<uint16_t> msp::msg::OsdConfig::time_alarm |
Definition at line 2161 of file msp_msg.hpp.
Value<uint8_t> msp::msg::OsdConfig::units |
Definition at line 2158 of file msp_msg.hpp.
Value<uint8_t> msp::msg::OsdConfig::video_system |
Definition at line 2157 of file msp_msg.hpp.