diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-07 15:40:14 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-04-07 15:41:31 +0200 |
| commit | cbb0039fe542c0d8281601d25c04de487c84fa17 (patch) | |
| tree | 73462a423ef875e77be3ca97b2939ad06b199854 /app/pebbledinterface.cpp | |
| parent | 01dca8bb1697fce6a05ab6a613e8ceaca9d4bfec (diff) | |
Implemented checking for latest firmware version
Diffstat (limited to 'app/pebbledinterface.cpp')
| -rw-r--r-- | app/pebbledinterface.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/pebbledinterface.cpp b/app/pebbledinterface.cpp index e7fcb2e..28f0581 100644 --- a/app/pebbledinterface.cpp +++ b/app/pebbledinterface.cpp @@ -304,6 +304,18 @@ QVariantMap PebbledInterface::appInfoByUuid(const QString &uuid) const } } +void PebbledInterface::uploadFirmware(const QString &file) +{ + qDebug() << Q_FUNC_INFO << file; + QDBusPendingReply<> reply = watch->UploadFirmware(false, file); + reply.waitForFinished(); +} + +void PebbledInterface::notifyFirmware(const QString &version) +{ + qDebug() << Q_FUNC_INFO << version; +} + void PebbledInterface::onWatchConnectedChanged() { qDebug() << Q_FUNC_INFO; |
