3#include <QtCore/QVariant>
4#include <QtQmlIntegration/QtQmlIntegration>
7#include "MAVLinkEnums.h"
16 Q_MOC_INCLUDE(
"Vehicle.h")
45 QStringList
baudRates()
const {
return _baudRates; }
47 bool busy()
const {
return (_waitType != WAIT_FOR_NOTHING); }
66 void _mavCommandResult(
int vehicleId,
int component,
int command,
int result,
int failureCode);
74 void _restoreDefaults()
const;
76 QStringList _channels;
77 const QStringList _baudRates = { QStringLiteral(
"57600"), QStringLiteral(
"115200"), QStringLiteral(
"230400"), QStringLiteral(
"460800"), QStringLiteral(
"921600") };
86 int _waitType = WAIT_FOR_NOTHING;
89 Fact *_baud =
nullptr;
92 Fact *_ssid1 =
nullptr;
93 Fact *_ssid2 =
nullptr;
94 Fact *_ssid3 =
nullptr;
95 Fact *_ssid4 =
nullptr;
97 Fact *_pwd1 =
nullptr;
98 Fact *_pwd2 =
nullptr;
99 Fact *_pwd3 =
nullptr;
100 Fact *_pwd4 =
nullptr;
102 Fact *_ssidsta1 =
nullptr;
103 Fact *_ssidsta2 =
nullptr;
104 Fact *_ssidsta3 =
nullptr;
105 Fact *_ssidsta4 =
nullptr;
107 Fact *_pwdsta1 =
nullptr;
108 Fact *_pwdsta2 =
nullptr;
109 Fact *_pwdsta3 =
nullptr;
110 Fact *_pwdsta4 =
nullptr;
void setBaudIndex(int idx) const
~ESP8266ComponentController()
void setWifiPasswordSta(const QString &pwd) const
void wifiPasswordChanged()
Q_INVOKABLE void restoreDefaults()
QStringList wifiChannels() const
void setWifiSSIDSta(const QString &id) const
QStringList baudRates() const
void setWifiPassword(const QString &pwd) const
void wifiSSIDStaChanged()
Vehicle * vehicle() const
QString wifiPassword() const
Q_INVOKABLE void reboot()
void wifiPasswordStaChanged()
QString wifiSSIDSta() const
QString wifiPasswordSta() const
void setWifiSSID(const QString &id) const
Used for handling missing Facts from C++ code.
A Fact is used to hold a single value within the system.