QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ESP8266ComponentController Class Reference

#include <ESP8266ComponentController.h>

+ Inheritance diagram for ESP8266ComponentController:
+ Collaboration diagram for ESP8266ComponentController:

Signals

void versionChanged ()
 
void wifiSSIDChanged ()
 
void wifiPasswordChanged ()
 
void wifiSSIDStaChanged ()
 
void wifiPasswordStaChanged ()
 
void baudIndexChanged ()
 
void busyChanged ()
 
- Signals inherited from FactPanelController
void missingParametersAvailable ()
 

Public Member Functions

 ESP8266ComponentController (QObject *parent=nullptr)
 
 ~ESP8266ComponentController ()
 
Q_INVOKABLE void restoreDefaults ()
 
Q_INVOKABLE void reboot ()
 
QString version () const
 
QString wifiIPAddress ()
 
QString wifiSSID () const
 
QString wifiPassword () const
 
QString wifiSSIDSta () const
 
QString wifiPasswordSta () const
 
QStringList wifiChannels () const
 
QStringList baudRates () const
 
int baudIndex () const
 
bool busy () const
 
Vehiclevehicle () const
 
void setWifiSSID (const QString &id) const
 
void setWifiPassword (const QString &pwd) const
 
void setWifiSSIDSta (const QString &id) const
 
void setWifiPasswordSta (const QString &pwd) const
 
void setBaudIndex (int idx) const
 
- Public Member Functions inherited from FactPanelController
 FactPanelController (QObject *parent=nullptr)
 
virtual ~FactPanelController ()
 
Q_INVOKABLE FactgetParameterFact (int componentId, const QString &name, bool reportMissing=true) const
 
Q_INVOKABLE bool parameterExists (int componentId, const QString &name) const
 
Q_INVOKABLE void getMissingParameters (const QStringList &rgNames)
 

Static Public Member Functions

static int componentID ()
 

Additional Inherited Members

- Protected Member Functions inherited from FactPanelController
bool _allParametersExists (int componentId, const QStringList &names) const
 
void _reportMissingParameter (int componentId, const QString &name) const
 Report a missing parameter.
 
- Protected Attributes inherited from FactPanelController
Vehicle_vehicle = nullptr
 

Detailed Description

Definition at line 12 of file ESP8266ComponentController.h.

Constructor & Destructor Documentation

◆ ESP8266ComponentController()

ESP8266ComponentController::ESP8266ComponentController ( QObject *  parent = nullptr)
explicit

◆ ~ESP8266ComponentController()

ESP8266ComponentController::~ESP8266ComponentController ( )

Definition at line 46 of file ESP8266ComponentController.cc.

Member Function Documentation

◆ baudIndex()

int ESP8266ComponentController::baudIndex ( ) const

◆ baudIndexChanged

void ESP8266ComponentController::baudIndexChanged ( )
signal

◆ baudRates()

QStringList ESP8266ComponentController::baudRates ( ) const
inline

Definition at line 45 of file ESP8266ComponentController.h.

◆ busy()

bool ESP8266ComponentController::busy ( ) const
inline

Definition at line 47 of file ESP8266ComponentController.h.

◆ busyChanged

void ESP8266ComponentController::busyChanged ( )
signal

Referenced by reboot(), and restoreDefaults().

◆ componentID()

static int ESP8266ComponentController::componentID ( )
inlinestatic

◆ reboot()

void ESP8266ComponentController::reboot ( )

Definition at line 266 of file ESP8266ComponentController.cc.

References busyChanged(), and MAX_RETRIES.

◆ restoreDefaults()

void ESP8266ComponentController::restoreDefaults ( )

Definition at line 274 of file ESP8266ComponentController.cc.

References busyChanged(), and MAX_RETRIES.

◆ setBaudIndex()

void ESP8266ComponentController::setBaudIndex ( int  idx) const

Definition at line 242 of file ESP8266ComponentController.cc.

References baudIndex(), and Fact::setRawValue().

◆ setWifiPassword()

void ESP8266ComponentController::setWifiPassword ( const QString &  pwd) const

Definition at line 122 of file ESP8266ComponentController.cc.

References Fact::setRawValue().

◆ setWifiPasswordSta()

void ESP8266ComponentController::setWifiPasswordSta ( const QString &  pwd) const

◆ setWifiSSID()

void ESP8266ComponentController::setWifiSSID ( const QString &  id) const

Definition at line 88 of file ESP8266ComponentController.cc.

References Fact::setRawValue().

◆ setWifiSSIDSta()

void ESP8266ComponentController::setWifiSSIDSta ( const QString &  id) const

◆ vehicle()

Vehicle * ESP8266ComponentController::vehicle ( ) const
inline

Definition at line 48 of file ESP8266ComponentController.h.

References FactPanelController::_vehicle.

◆ version()

QString ESP8266ComponentController::version ( ) const

◆ versionChanged

void ESP8266ComponentController::versionChanged ( )
signal

◆ wifiChannels()

QStringList ESP8266ComponentController::wifiChannels ( ) const
inline

Definition at line 44 of file ESP8266ComponentController.h.

◆ wifiIPAddress()

QString ESP8266ComponentController::wifiIPAddress ( )

◆ wifiPassword()

QString ESP8266ComponentController::wifiPassword ( ) const

Definition at line 106 of file ESP8266ComponentController.cc.

References Fact::rawValue().

◆ wifiPasswordChanged

void ESP8266ComponentController::wifiPasswordChanged ( )
signal

◆ wifiPasswordSta()

QString ESP8266ComponentController::wifiPasswordSta ( ) const

◆ wifiPasswordStaChanged

void ESP8266ComponentController::wifiPasswordStaChanged ( )
signal

◆ wifiSSID()

QString ESP8266ComponentController::wifiSSID ( ) const

Definition at line 72 of file ESP8266ComponentController.cc.

References Fact::rawValue().

◆ wifiSSIDChanged

void ESP8266ComponentController::wifiSSIDChanged ( )
signal

◆ wifiSSIDSta()

QString ESP8266ComponentController::wifiSSIDSta ( ) const

◆ wifiSSIDStaChanged

void ESP8266ComponentController::wifiSSIDStaChanged ( )
signal

The documentation for this class was generated from the following files: