summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/bluetoothdataprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdataprovider.h')
-rw-r--r--tradeshow/iot-sensortag/bluetoothdataprovider.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdataprovider.h b/tradeshow/iot-sensortag/bluetoothdataprovider.h
index f4c4b15..691b94c 100644
--- a/tradeshow/iot-sensortag/bluetoothdataprovider.h
+++ b/tradeshow/iot-sensortag/bluetoothdataprovider.h
@@ -70,6 +70,7 @@ public:
QString versionString() const;
void bindToDevice(BluetoothDevice *device);
+ void unbindDevice();
BluetoothDevice* device();
public slots:
@@ -88,7 +89,7 @@ protected:
private:
void updateState();
float countRotationDegrees(double degreesPerSecond, quint64 milliseconds);
- BluetoothDevice* activeDevice;
+ BluetoothDevice *m_btDevice;
QTimer timer;
int m_smaSamples;
int m_zeroAltitudeSamples;