From 2f133076fb91ecadadef4a8e28cd6c5d9b431f71 Mon Sep 17 00:00:00 2001 From: Nedim Hadzic Date: Fri, 7 Mar 2014 18:19:02 +0100 Subject: 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 --- src/bluetooth/qlowenergycontroller.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bluetooth/qlowenergycontroller.h') 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 -- cgit v1.2.3