Public Member Functions | Public Attributes
msp::msg::SetVtxConfig Struct Reference

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::SetVtxConfig:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 2282 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 2283 of file msp_msg.hpp.


Member Function Documentation

virtual ByteVectorUptr msp::msg::SetVtxConfig::encode ( ) const [inline, override, virtual]

Encode all data into a ByteVector.

Returns:
Unique pointer to a ByteVector of data

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

Returns:
ID

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.


Member Data Documentation

Definition at line 2287 of file msp_msg.hpp.

Definition at line 2289 of file msp_msg.hpp.

Definition at line 2288 of file msp_msg.hpp.


The documentation for this struct was generated from the following file:


msp
Author(s): Christian Rauch
autogenerated on Thu Jun 20 2019 19:40:38