summaryrefslogtreecommitdiff
path: root/app/pebbledinterface.cpp
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-04-08 11:52:14 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-04-09 08:45:16 +0200
commit78d1697cd63033244304f7794cf9157029e4fdb5 (patch)
tree3a1bdbe3d3706c34a8a7841a1790846599a45c8f /app/pebbledinterface.cpp
parentcbb0039fe542c0d8281601d25c04de487c84fa17 (diff)
Implemented firmwareUpgrade in daemon
Diffstat (limited to 'app/pebbledinterface.cpp')
-rw-r--r--app/pebbledinterface.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/pebbledinterface.cpp b/app/pebbledinterface.cpp
index 28f0581..2099c9e 100644
--- a/app/pebbledinterface.cpp
+++ b/app/pebbledinterface.cpp
@@ -304,6 +304,12 @@ QVariantMap PebbledInterface::appInfoByUuid(const QString &uuid) const
}
}
+void PebbledInterface::notifyFirmware(bool ok)
+{
+ qDebug() << Q_FUNC_INFO << ok;
+ watch->NotifyFirmware(ok);
+}
+
void PebbledInterface::uploadFirmware(const QString &file)
{
qDebug() << Q_FUNC_INFO << file;
@@ -311,11 +317,6 @@ void PebbledInterface::uploadFirmware(const QString &file)
reply.waitForFinished();
}
-void PebbledInterface::notifyFirmware(const QString &version)
-{
- qDebug() << Q_FUNC_INFO << version;
-}
-
void PebbledInterface::onWatchConnectedChanged()
{
qDebug() << Q_FUNC_INFO;