summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/bluetoothdataprovider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdataprovider.cpp')
-rw-r--r--tradeshow/iot-sensortag/bluetoothdataprovider.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdataprovider.cpp b/tradeshow/iot-sensortag/bluetoothdataprovider.cpp
index 0d2a750..e3c746c 100644
--- a/tradeshow/iot-sensortag/bluetoothdataprovider.cpp
+++ b/tradeshow/iot-sensortag/bluetoothdataprovider.cpp
@@ -87,7 +87,6 @@ bool BluetoothDataProvider::startDataFetching()
timer.setSingleShot(true);
connect(&timer, &QTimer::timeout, this, &BluetoothDataProvider::startServiceScan);
timer.start();
- qCDebug(boot2QtDemos) << "Active Device is now " << activeDevice->getName() << " at "<< activeDevice->getAddress();
}
return true;
}
@@ -218,6 +217,9 @@ void BluetoothDataProvider::updateState()
case BluetoothDevice::Disconnected:
setState(Disconnected);
break;
+ case BluetoothDevice::Scanning:
+ setState(Scanning);
+ break;
case BluetoothDevice::Connected:
setState(Connected);
break;