From d194a6112299cfe045c34e5cdb6adbbb81418d09 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 10 Aug 2012 00:45:24 +0200 Subject: new watchhandler for watchlet/prov lifecycle mgmt --- metawatch/metawatchscanner.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metawatch/metawatchscanner.cpp') diff --git a/metawatch/metawatchscanner.cpp b/metawatch/metawatchscanner.cpp index 99ccc93..a34f71b 100644 --- a/metawatch/metawatchscanner.cpp +++ b/metawatch/metawatchscanner.cpp @@ -37,9 +37,11 @@ void MetaWatchScanner::handleDiscoveredService(const QBluetoothServiceInfo &info qDebug() << "metawatch bluetooth scan found:" << deviceName; if (deviceName.contains("Digital", Qt::CaseInsensitive)) { foundInfo["driver"] = QString("metawatch-digital"); + foundInfo["next-watchlet-button"] = QString("A"); emit watchFound(foundInfo); } else if (deviceName.contains("Analog", Qt::CaseInsensitive)) { foundInfo["driver"] = QString("metawatch-analog"); + foundInfo["next-watchlet-button"] = QString("A"); emit watchFound(foundInfo); } else { qWarning() << "Unknown MetaWatch device found:" << deviceName; -- cgit v1.2.3