summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/bluetoothdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/bluetoothdevice.h')
-rw-r--r--tradeshow/iot-sensortag/bluetoothdevice.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/tradeshow/iot-sensortag/bluetoothdevice.h b/tradeshow/iot-sensortag/bluetoothdevice.h
index 435fd22..a988b6b 100644
--- a/tradeshow/iot-sensortag/bluetoothdevice.h
+++ b/tradeshow/iot-sensortag/bluetoothdevice.h
@@ -104,7 +104,6 @@ class BluetoothDevice: public QObject
Q_PROPERTY(QString deviceAddress READ getAddress CONSTANT)
Q_PROPERTY(DeviceState state READ state NOTIFY stateChanged)
- Q_PROPERTY(QVariant servicesList READ getServices NOTIFY servicesUpdated)
Q_PROPERTY(QVariant characteristicList READ getCharacteristics NOTIFY characteristicsUpdated)
Q_PROPERTY(bool useRandomAddress MEMBER randomAddress NOTIFY randomAddressChanged)
@@ -119,12 +118,10 @@ public:
QString getAddress() const;
QString getName() const;
- QVariant getServices();
QVariant getCharacteristics();
DeviceState state() const;
signals:
- void servicesUpdated();
void characteristicsUpdated();
void updateChanged();
void stateChanged();
@@ -138,7 +135,6 @@ signals:
public slots:
void scanServices();
- void connectToService(const QString &uuid);
void disconnectFromDevice();
void temperatureDetailsDiscovered(QLowEnergyService::ServiceState newstate);
void barometerDetailsDiscovered(QLowEnergyService::ServiceState newstate);
@@ -172,7 +168,6 @@ private:
double convertIrTemperatureAPIReadingToCelsius(quint16 rawReading);
QBluetoothDeviceDiscoveryAgent *discoveryAgent;
- QList<QObject*> m_services;
QList<QObject*> m_characteristics;
QString m_previousAddress;
QLowEnergyController *controller;