diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-03-11 14:11:37 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 11:56:29 +0100 |
commit | 4439541b05ae88a30159a5597d40f569328783ca (patch) | |
tree | 12db0e45d1987503efb79b7f2d0967ca5d302f78 /src/bluetooth/qlowenergycontroller.h | |
parent | 085db46d31bb5010a8486b73543d01f183b684e1 (diff) |
Bluez BLE write characteristic and descriptor value moved to controller
In the QLowEnergyController class write options for characteristic and
descriptors are added.
Change-Id: I5cc5dab1d3d2ef75d99eae045959f70524e65c91
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h index 5b2ae1a6..dcef728e 100644 --- a/src/bluetooth/qlowenergycontroller.h +++ b/src/bluetooth/qlowenergycontroller.h @@ -47,6 +47,7 @@ #include <QtBluetooth/QBluetoothAddress> #include <QtBluetooth/QLowEnergyCharacteristicInfo> #include <QtBluetooth/QLowEnergyServiceInfo> +#include <QtBluetooth/QLowEnergyDescriptorInfo> QT_BEGIN_NAMESPACE @@ -64,6 +65,8 @@ public: void disconnectFromService(const QLowEnergyServiceInfo &leService = QLowEnergyServiceInfo()); bool enableNotifications(const QLowEnergyCharacteristicInfo &characteristic); void disableNotifications(const QLowEnergyCharacteristicInfo &characteristic); + bool writeCharacteristic(const QLowEnergyCharacteristicInfo &characteristic); + bool writeDescriptor(const QLowEnergyDescriptorInfo &descriptor); QString errorString() const; void setRandomAddress(); |