summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/metawatchbletransport.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/metawatchbletransport.cpp b/src/metawatchbletransport.cpp
index 56039d3..16ba88e 100644
--- a/src/metawatchbletransport.cpp
+++ b/src/metawatchbletransport.cpp
@@ -91,6 +91,9 @@ void MetaWatchBLETransport::handleDeviceConnected()
QList<GatoUUID> interesting_services;
interesting_services << ServiceUuid;
_dev->discoverServices();
+ } else {
+ // Directly use the services in cache
+ handleDeviceServices();
}
}
@@ -113,7 +116,7 @@ void MetaWatchBLETransport::handleDeviceServices()
void MetaWatchBLETransport::handleDeviceCharacteristics(const GatoService &service)
{
- qDebug() << "Got characteristic";
+ qDebug() << "Got characteristics";
foreach (const GatoCharacteristic &c, service.characteristics()) {
if (c.uuid() == InputCharacteristicUuid) {
_in = c;