#include <msp_msg.hpp>
Public Member Functions | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
bool | set_freq (uint8_t band, uint8_t channel) |
SetVtxConfig (FirmwareVariant v) | |
Public Attributes | |
Value< uint16_t > | frequency |
Value< uint8_t > | pit_mode |
Value< uint8_t > | power |
Definition at line 2282 of file msp_msg.hpp.
msp::msg::SetVtxConfig::SetVtxConfig | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 2283 of file msp_msg.hpp.
virtual ByteVectorUptr msp::msg::SetVtxConfig::encode | ( | ) | const [inline, override, virtual] |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 2299 of file msp_msg.hpp.
virtual ID msp::msg::SetVtxConfig::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 2285 of file msp_msg.hpp.
bool msp::msg::SetVtxConfig::set_freq | ( | uint8_t | band, |
uint8_t | channel | ||
) | [inline] |
Definition at line 2291 of file msp_msg.hpp.
Value<uint16_t> msp::msg::SetVtxConfig::frequency |
Definition at line 2287 of file msp_msg.hpp.
Value<uint8_t> msp::msg::SetVtxConfig::pit_mode |
Definition at line 2289 of file msp_msg.hpp.
Value<uint8_t> msp::msg::SetVtxConfig::power |
Definition at line 2288 of file msp_msg.hpp.