update package description

This commit is contained in:
Simon Stürz 2016-09-28 11:54:43 +02:00 committed by Michael Zanetti
parent 46bc673773
commit af17ac38b0
2 changed files with 14 additions and 3 deletions

6
debian/control vendored
View File

@ -7,8 +7,10 @@ Build-Depends: debhelper (>= 9.0.0),
hardening-wrapper,
python,
rsync,
qt5-default,
qtchooser,
qt5-qmake,
qtbase5-dev,
qtbase5-dev-tools,
qttools5-dev-tools,
qtconnectivity5-dev,
libqt5websockets5-dev,
@ -25,7 +27,7 @@ Depends: ${misc:Depends},
guhd (= ${binary:Version}),
guh-plugins (= ${binary:Version}),
Description:An open source IoT server - meta package
guh is an open source IoT (Internet of Things) server,
The guh server is an open source IoT (Internet of Things) server,
which allows to control a lot of different devices from many different
manufacturers. With the powerful rule engine you are able to connect any
device available in the system and create individual scenes and behaviors

View File

@ -151,6 +151,16 @@ void CloudConnection::onTextMessageReceived(const QString &message)
emit dataReceived(jsonDoc.toVariant().toMap());
}
void CloudConnection::onError(const QAbstractSocket::SocketError &error)
{
if (!m_reconnectionTimer->isActive())
qCWarning(dcCloud()) << "Websocket error:" << error << m_connection->errorString();
m_error = Cloud::CloudErrorProxyServerNotReachable;
m_reconnectionTimer->start(10000);
setConnected(false);
}
void CloudConnection::reconnectionTimeout()
{
if (m_authenticated) {
@ -159,7 +169,6 @@ void CloudConnection::reconnectionTimeout()
m_reconnectionTimer->stop();
m_error = CloudConnectionErrorAuthenticationFailed;
}
}