diff options
author | Titta Heikkala <titta.heikkala@qt.io> | 2017-03-02 09:10:49 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-03-02 07:46:50 +0000 |
commit | 8f7bb40c889ac1f74cc0e11660011cf1ee2d7b15 (patch) | |
tree | 9d5ef2e6fd3145ef18a0e60e24cd879d786a34e5 /tradeshow/iot-sensortag/bluetoothdevice.h | |
parent | 6c4c77ae60284c2ca76fcd6a3af6adc66e1f17ad (diff) |
iot-sensortag: Reduce waiting time for service scan
Unnecessary 1s delay to start service scan removed.
If all service details have been discovered there's no need to
start the 5s service details timer.
Change-Id: I6c8c89455fb3cfdbc1a28198234e95a4ed0b7e8b
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdevice.h')
-rw-r--r-- | tradeshow/iot-sensortag/bluetoothdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdevice.h b/tradeshow/iot-sensortag/bluetoothdevice.h index 6a75a67..ed74866 100644 --- a/tradeshow/iot-sensortag/bluetoothdevice.h +++ b/tradeshow/iot-sensortag/bluetoothdevice.h @@ -167,6 +167,7 @@ private: void motionReceived(const QByteArray &value); double convertIrTemperatureAPIReadingToCelsius(quint16 rawReading); bool isDeviceReady() const; + void updateServiceDetails(); QLowEnergyController *m_controller; QLowEnergyService* m_irTemperatureService; |