diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-06-23 08:16:28 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-06-26 16:36:15 +0200 |
commit | 3c9c77c94d747a568a22421c0b0ada086463dbad (patch) | |
tree | f948d74a67e7aada343f7a4af4fefca18fcff4db /src/bluetooth/qlowenergyservice.h | |
parent | 417ac65051bba0f91185f437c90a3d6f36b99d60 (diff) |
Read characteristic values on Bluez
Change-Id: I6427c6dad133ca11852f5295cf37720addec7644
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qlowenergyservice.h')
-rw-r--r-- | src/bluetooth/qlowenergyservice.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergyservice.h b/src/bluetooth/qlowenergyservice.h index af4b657d..c2ecc6b0 100644 --- a/src/bluetooth/qlowenergyservice.h +++ b/src/bluetooth/qlowenergyservice.h @@ -42,7 +42,8 @@ #define QLOWENERGYSERVICE_H #include <QtBluetooth/QBluetoothAddress> -#include <QtBluetooth/QLowEnergyCharacteristicInfo> +#include <QtBluetooth/QBluetoothUuid> +#include <QtBluetooth/QLowEnergyCharacteristic> QT_BEGIN_NAMESPACE @@ -76,7 +77,7 @@ public: QLowEnergyService::ServiceState state() const; - QList<QLowEnergyCharacteristicInfo> characteristics() const; + QList<QLowEnergyCharacteristic> characteristics() const; QBluetoothUuid serviceUuid() const; QString serviceName() const; @@ -87,7 +88,7 @@ public: Q_SIGNALS: void stateChanged(QLowEnergyService::ServiceState newState); - void characteristicChanged(const QLowEnergyCharacteristicInfo &info, + void characteristicChanged(const QLowEnergyCharacteristic &info, const QByteArray &value); void descriptorChanged(const QLowEnergyDescriptorInfo &info, const QByteArray &value); |