summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.h
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-03-07 18:19:02 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 11:02:05 +0100
commit2f133076fb91ecadadef4a8e28cd6c5d9b431f71 (patch)
treed809f5ca15a4c5bc06964c008d58ab4ab2bdd1b6 /src/bluetooth/qlowenergycontroller.h
parent10126f30e5f5dec0c13ed11ae302a76bc5fa6da0 (diff)
BLE communication moved to controller class
BLE communication code was implemented in QLowEnergyServiceInfo class. It is moved now to the QLowEnergyController class. Needed adjustments are done in order to make this work. Change-Id: I9206d2324ad59f79f4e035509e23f5c7f7cfb328 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.h')
-rw-r--r--src/bluetooth/qlowenergycontroller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h
index 842a2e7e..5b2ae1a6 100644
--- a/src/bluetooth/qlowenergycontroller.h
+++ b/src/bluetooth/qlowenergycontroller.h
@@ -65,6 +65,7 @@ public:
bool enableNotifications(const QLowEnergyCharacteristicInfo &characteristic);
void disableNotifications(const QLowEnergyCharacteristicInfo &characteristic);
QString errorString() const;
+ void setRandomAddress();
Q_SIGNALS:
void connected(const QLowEnergyServiceInfo &);
@@ -83,6 +84,9 @@ private:
Q_PRIVATE_SLOT(d_func(), void _q_characteristicError(const QBluetoothUuid &uuid))
Q_PRIVATE_SLOT(d_func(), void _q_valueReceived(const QBluetoothUuid &uuid))
Q_PRIVATE_SLOT(d_func(), void _q_serviceDisconnected(const QBluetoothUuid &uuid))
+#ifdef QT_BLUEZ_BLUETOOTH
+ Q_PRIVATE_SLOT(d_func(), void _q_replyReceived(const QString &reply))
+#endif
};
QT_END_NAMESPACE