diff --git a/libnymea-app-core/connection/awsclient.cpp b/libnymea-app-core/connection/awsclient.cpp index da38eaa3..6349b4e5 100644 --- a/libnymea-app-core/connection/awsclient.cpp +++ b/libnymea-app-core/connection/awsclient.cpp @@ -209,10 +209,9 @@ void AWSClient::getCredentialsForIdentity(const QString &identityId) settings.setValue("secretKey", m_secretKey); settings.setValue("sessionToken", m_sessionToken); - qDebug() << "Raw GetCredentialsForIdentity reply:" << qUtf8Printable(data); - qDebug() << "GetCredentialsForIdentity reply: \nAccess Key ID:" << m_accessKeyId << "\nSecret Key:" << m_secretKey << "\nsessionkey:" << m_sessionToken << "\nExpiration:" << m_expirationDate; - - postToMQTT(); + qDebug() << "AWS Credentials for Identity received."; +// qDebug() << "Raw GetCredentialsForIdentity reply:" << qUtf8Printable(data); +// qDebug() << "GetCredentialsForIdentity reply: \nAccess Key ID:" << m_accessKeyId << "\nSecret Key:" << m_secretKey << "\nsessionkey:" << m_sessionToken << "\nExpiration:" << m_expirationDate; }); } diff --git a/nymea-app/platformoptions.cpp b/nymea-app/platformoptions.cpp new file mode 100644 index 00000000..82559a86 --- /dev/null +++ b/nymea-app/platformoptions.cpp @@ -0,0 +1,11 @@ +#include "platformoptions.h" + +PlatformOptions::PlatformOptions(QObject *parent) : QObject(parent) +{ + +} + +bool PlatformOptions::screenBacklight() const +{ + QFile f() +} diff --git a/nymea-app/platformoptions.h b/nymea-app/platformoptions.h new file mode 100644 index 00000000..67ee5838 --- /dev/null +++ b/nymea-app/platformoptions.h @@ -0,0 +1,17 @@ +#ifndef PLATFORMOPTIONS_H +#define PLATFORMOPTIONS_H + +#include + +class PlatformOptions : public QObject +{ + Q_OBJECT +public: + explicit PlatformOptions(QObject *parent = nullptr); + +signals: + +public slots: +}; + +#endif // PLATFORMOPTIONS_H \ No newline at end of file