From cbb0039fe542c0d8281601d25c04de487c84fa17 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Tue, 7 Apr 2015 15:40:14 +0200 Subject: Implemented checking for latest firmware version --- app/pebbledinterface.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'app/pebbledinterface.cpp') 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; -- cgit v1.2.3