|
QGroundControl
Ground Control Station for MAVLink Drones
|
#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 |
| Vehicle * | vehicle () 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 Fact * | getParameterFact (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 |
Definition at line 12 of file ESP8266ComponentController.h.
|
explicit |
Definition at line 12 of file ESP8266ComponentController.cc.
References FactPanelController::_vehicle, Vehicle::mavCommandResult(), and Fact::valueChanged().
| ESP8266ComponentController::~ESP8266ComponentController | ( | ) |
Definition at line 46 of file ESP8266ComponentController.cc.
| int ESP8266ComponentController::baudIndex | ( | ) | const |
Definition at line 224 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::getParameterFact(), and Fact::rawValue().
Referenced by setBaudIndex().
|
signal |
|
inline |
Definition at line 45 of file ESP8266ComponentController.h.
|
inline |
Definition at line 47 of file ESP8266ComponentController.h.
|
signal |
Referenced by reboot(), and restoreDefaults().
|
inlinestatic |
Definition at line 37 of file ESP8266ComponentController.h.
Referenced by baudIndex(), setWifiPasswordSta(), setWifiSSIDSta(), version(), wifiIPAddress(), wifiPasswordSta(), and wifiSSIDSta().
| void ESP8266ComponentController::reboot | ( | ) |
Definition at line 266 of file ESP8266ComponentController.cc.
References busyChanged(), and MAX_RETRIES.
| void ESP8266ComponentController::restoreDefaults | ( | ) |
Definition at line 274 of file ESP8266ComponentController.cc.
References busyChanged(), and MAX_RETRIES.
| void ESP8266ComponentController::setBaudIndex | ( | int | idx | ) | const |
Definition at line 242 of file ESP8266ComponentController.cc.
References baudIndex(), and Fact::setRawValue().
| void ESP8266ComponentController::setWifiPassword | ( | const QString & | pwd | ) | const |
Definition at line 122 of file ESP8266ComponentController.cc.
References Fact::setRawValue().
| void ESP8266ComponentController::setWifiPasswordSta | ( | const QString & | pwd | ) | const |
Definition at line 202 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::parameterExists(), and Fact::setRawValue().
| void ESP8266ComponentController::setWifiSSID | ( | const QString & | id | ) | const |
Definition at line 88 of file ESP8266ComponentController.cc.
References Fact::setRawValue().
| void ESP8266ComponentController::setWifiSSIDSta | ( | const QString & | id | ) | const |
Definition at line 160 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::parameterExists(), and Fact::setRawValue().
|
inline |
Definition at line 48 of file ESP8266ComponentController.h.
References FactPanelController::_vehicle.
| QString ESP8266ComponentController::version | ( | ) | const |
Definition at line 51 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::getParameterFact(), and Fact::rawValue().
|
signal |
|
inline |
Definition at line 44 of file ESP8266ComponentController.h.
| QString ESP8266ComponentController::wifiIPAddress | ( | ) |
Definition at line 58 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::getParameterFact(), and FactPanelController::parameterExists().
| QString ESP8266ComponentController::wifiPassword | ( | ) | const |
Definition at line 106 of file ESP8266ComponentController.cc.
References Fact::rawValue().
|
signal |
| QString ESP8266ComponentController::wifiPasswordSta | ( | ) | const |
Definition at line 182 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::parameterExists(), and Fact::rawValue().
|
signal |
| QString ESP8266ComponentController::wifiSSID | ( | ) | const |
Definition at line 72 of file ESP8266ComponentController.cc.
References Fact::rawValue().
|
signal |
| QString ESP8266ComponentController::wifiSSIDSta | ( | ) | const |
Definition at line 140 of file ESP8266ComponentController.cc.
References componentID(), FactPanelController::parameterExists(), and Fact::rawValue().
|
signal |