diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-03-07 18:19:02 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-11 11:02:05 +0100 |
commit | 2f133076fb91ecadadef4a8e28cd6c5d9b431f71 (patch) | |
tree | d809f5ca15a4c5bc06964c008d58ab4ab2bdd1b6 /src/bluetooth/qlowenergycontroller.h | |
parent | 10126f30e5f5dec0c13ed11ae302a76bc5fa6da0 (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.h | 4 |
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 |