#include <msp_msg.hpp>
Public Member Functions | |
Analog (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< float > | amperage |
Value< float > | powerMeterSum |
Value< uint16_t > | rssi |
Value< float > | vbat |
Definition at line 3121 of file msp_msg.hpp.
msp::msg::Analog::Analog | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 3122 of file msp_msg.hpp.
virtual bool msp::msg::Analog::decode | ( | const ByteVector & | ) | [inline, override, virtual] |
Decode message contents from a ByteVector.
data | Source of data |
Reimplemented from msp::Message.
Definition at line 3131 of file msp_msg.hpp.
virtual ID msp::msg::Analog::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 3124 of file msp_msg.hpp.
virtual std::ostream& msp::msg::Analog::print | ( | std::ostream & | s | ) | const [inline, override, virtual] |
Reimplemented from msp::Message.
Definition at line 3140 of file msp_msg.hpp.
Value<float> msp::msg::Analog::amperage |
Definition at line 3129 of file msp_msg.hpp.
Definition at line 3127 of file msp_msg.hpp.
Value<uint16_t> msp::msg::Analog::rssi |
Definition at line 3128 of file msp_msg.hpp.
Value<float> msp::msg::Analog::vbat |
Definition at line 3126 of file msp_msg.hpp.