Inherits: |
enum | ConfigurationError { ConfigurationErrorNoError, ConfigurationErrorInvalidTimeZone, ConfigurationErrorInvalidStationName, ConfigurationErrorInvalidId, ..., ConfigurationErrorInvalidCertificate } |
NymeaConfiguration(QObject * parent = nullptr) | |
bool | bluetoothServerEnabled() const |
QString | cloudCertificate() const |
QString | cloudCertificateCA() const |
QString | cloudCertificateKey() const |
bool | cloudEnabled() const |
QString | cloudServerUrl() const |
bool | debugServerEnabled() const |
QLocale | locale() const |
QString | logDBDriver() const |
QString | logDBHost() const |
int | logDBMaxEntries() const |
QString | logDBName() const |
QString | logDBPassword() const |
QString | logDBUser() const |
QHash<QString, MqttPolicy> | mqttPolicies() const |
QHash<QString, ServerConfiguration> | mqttServerConfigurations() const |
bool | removeMqttPolicy(const QString & clientId) |
void | removeMqttServerConfiguration(const QString & id) |
void | removeTcpServerConfiguration(const QString & id) |
void | removeWebServerConfiguration(const QString & id) |
void | removeWebSocketServerConfiguration(const QString & id) |
QString | serverName() const |
QUuid | serverUuid() const |
void | setBluetoothServerEnabled(bool enabled) |
void | setCloudCertificate(const QString & cloudCertificate) |
void | setCloudCertificateCA(const QString & cloudCertificateCA) |
void | setCloudCertificateKey(const QString & cloudCertificateKey) |
void | setCloudEnabled(bool enabled) |
void | setCloudServerUrl(const QString & cloudServerUrl) |
void | setDebugServerEnabled(bool enabled) |
void | setLocale(const QLocale & locale) |
void | setMqttServerConfiguration(const ServerConfiguration & config) |
void | setServerName(const QString & serverName) |
void | setSslCertificate(const QString & sslCertificate, const QString & sslCertificateKey) |
void | setTcpServerConfiguration(const ServerConfiguration & config) |
void | setTimeZone(const QByteArray & timeZone) |
void | setWebServerConfiguration(const WebServerConfiguration & config) |
void | setWebSocketServerConfiguration(const ServerConfiguration & config) |
QString | sslCertificate() const |
QString | sslCertificateKey() const |
QHash<QString, ServerConfiguration> | tcpServerConfigurations() const |
QByteArray | timeZone() const |
void | updateMqttPolicy(const MqttPolicy & policy) |
QHash<QString, WebServerConfiguration> | webServerConfigurations() const |
QHash<QString, ServerConfiguration> | webSocketServerConfigurations() const |
void | bluetoothServerEnabledChanged() |
void | cloudEnabledChanged(bool enabled) |
void | debugServerEnabledChanged(bool enabled) |
void | localeChanged() |
void | mqttBrokerEnabledChanged() |
void | mqttPolicyChanged(const QString & clientId) |
void | mqttPolicyRemoved(const QString & clientId) |
void | mqttPortChanged() |
void | mqttServerConfigurationChanged(const QString & configId) |
void | mqttServerConfigurationRemoved(const QString & configId) |
void | serverNameChanged(const QString & serverName) |
void | tcpServerConfigurationChanged(const QString & configId) |
void | tcpServerConfigurationRemoved(const QString & configId) |
void | timeZoneChanged() |
void | webServerConfigurationChanged(const QString & configId) |
void | webServerConfigurationRemoved(const QString & configId) |
void | webSocketServerConfigurationChanged(const QString & configId) |
void | webSocketServerConfigurationRemoved(const QString & configId) |
See also setBluetoothServerEnabled().
[signal]
void NymeaConfiguration::bluetoothServerEnabledChanged()See also setCloudCertificate().
See also setCloudCertificateCA().
See also setCloudCertificateKey().
See also setCloudEnabled().
[signal]
void NymeaConfiguration::cloudEnabledChanged(bool enabled)See also setCloudServerUrl().
See also setDebugServerEnabled().
[signal]
void NymeaConfiguration::debugServerEnabledChanged(bool enabled)See also setLocale().
[signal]
void NymeaConfiguration::localeChanged()[signal]
void NymeaConfiguration::mqttBrokerEnabledChanged()[signal]
void NymeaConfiguration::mqttPolicyChanged(const QString & clientId)[signal]
void NymeaConfiguration::mqttPolicyRemoved(const QString & clientId)[signal]
void NymeaConfiguration::mqttPortChanged()[signal]
void NymeaConfiguration::mqttServerConfigurationChanged(const QString & configId)[signal]
void NymeaConfiguration::mqttServerConfigurationRemoved(const QString & configId)See also setServerName().
[signal]
void NymeaConfiguration::serverNameChanged(const QString & serverName)See also bluetoothServerEnabled().
See also cloudCertificate().
See also cloudCertificateCA().
See also cloudCertificateKey().
See also cloudEnabled().
See also cloudServerUrl().
See also debugServerEnabled().
See also locale().
See also serverName().
See also sslCertificate().
See also timeZone().
See also setSslCertificate().
[signal]
void NymeaConfiguration::tcpServerConfigurationChanged(const QString & configId)[signal]
void NymeaConfiguration::tcpServerConfigurationRemoved(const QString & configId)See also setTimeZone().
[signal]
void NymeaConfiguration::timeZoneChanged()[signal]
void NymeaConfiguration::webServerConfigurationChanged(const QString & configId)[signal]
void NymeaConfiguration::webServerConfigurationRemoved(const QString & configId)[signal]
void NymeaConfiguration::webSocketServerConfigurationChanged(const QString & configId)[signal]
void NymeaConfiguration::webSocketServerConfigurationRemoved(const QString & configId)