summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/bluetoothdevice.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-02-15 10:04:02 +0100
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2017-02-16 13:35:53 +0000
commit70d32b0ef01d7fd445c8173b8d0a19e8831e4609 (patch)
tree28a2c276515dbcd08ff8502822483ebc627df8dd /tradeshow/iot-sensortag/bluetoothdevice.h
parent7053af71846706006ec58afbb829291909726c7a (diff)
iot-sensortag: BluetoothDevice: Remove unused members
Change-Id: I6b3467541950df284f37d3b823c9fdfb535593ce Reviewed-by: Titta Heikkala <titta.heikkala@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdevice.h')
-rw-r--r--tradeshow/iot-sensortag/bluetoothdevice.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdevice.h b/tradeshow/iot-sensortag/bluetoothdevice.h
index e6137e8..2c4b1d1 100644
--- a/tradeshow/iot-sensortag/bluetoothdevice.h
+++ b/tradeshow/iot-sensortag/bluetoothdevice.h
@@ -104,8 +104,6 @@ class BluetoothDevice: public QObject
Q_PROPERTY(QString deviceAddress READ getAddress CONSTANT)
Q_PROPERTY(DeviceState state READ state NOTIFY stateChanged)
- Q_PROPERTY(bool useRandomAddress MEMBER randomAddress NOTIFY randomAddressChanged)
-
public:
enum DeviceState {Disconnected = 0, Scanning, Connected, Error};
Q_ENUM(DeviceState)
@@ -122,7 +120,6 @@ public:
signals:
void updateChanged();
void stateChanged();
- void randomAddressChanged();
void temperatureChanged(double ambientTemperature, double objectTemperature);
void barometerChanged(double temperature, double barometer);
void humidityChanged(double humidity);
@@ -171,8 +168,6 @@ private:
double convertIrTemperatureAPIReadingToCelsius(quint16 rawReading);
bool isDeviceReady() const;
- QBluetoothDeviceDiscoveryAgent *discoveryAgent;
- QString m_previousAddress;
QLowEnergyController *controller;
QLowEnergyService* irTemperatureService;
QLowEnergyService* baroService;
@@ -185,8 +180,6 @@ private:
bool m_humidityMeasurementStarted;
bool m_lightIntensityMeasurementStarted;
bool m_motionMeasurementStarted;
- bool randomAddress;
- QElapsedTimer attitudeChangeInterval;
quint64 lastMilliseconds;
QBluetoothDeviceInfo m_deviceInfo;