diff options
Diffstat (limited to 'metawatch')
-rw-r--r-- | metawatch/metawatchscanner.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/metawatch/metawatchscanner.cpp b/metawatch/metawatchscanner.cpp index a34f71b..6a65419 100644 --- a/metawatch/metawatchscanner.cpp +++ b/metawatch/metawatchscanner.cpp @@ -35,7 +35,8 @@ void MetaWatchScanner::handleDiscoveredService(const QBluetoothServiceInfo &info foundInfo["address"] = dev.address().toString(); foundInfo["name"] = deviceName; qDebug() << "metawatch bluetooth scan found:" << deviceName; - if (deviceName.contains("Digital", Qt::CaseInsensitive)) { + if (deviceName.contains("Digital", Qt::CaseInsensitive) || + deviceName.contains("SW12", Qt::CaseInsensitive)) { foundInfo["driver"] = QString("metawatch-digital"); foundInfo["next-watchlet-button"] = QString("A"); emit watchFound(foundInfo); |