diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-06-24 15:08:44 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-06-26 16:36:32 +0200 |
commit | 004491a61de53d128aade26d497dcf7a557e09c4 (patch) | |
tree | 6ec3a63f748c4e75bd856f458fc508dcab4e8c0b /src/bluetooth/qlowenergycharacteristic.h | |
parent | b9909f15e8760e1587f67d9ff028bf730a92d044 (diff) |
Introduce QLowEnergyDescriptor
The class is based in QLowEnergyDescriptorInfo and exposes the
found descriptor information. The only missing piece of information
is the descriptor value.
Extends the QLowEnergyController unit test in such a way that
descriptor information is tested too (except for values).
Change-Id: I6ba6a862fff48fbdd27cd8219d2eb8f6d0058aea
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycharacteristic.h')
-rw-r--r-- | src/bluetooth/qlowenergycharacteristic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycharacteristic.h b/src/bluetooth/qlowenergycharacteristic.h index 6454ef67..4478b910 100644 --- a/src/bluetooth/qlowenergycharacteristic.h +++ b/src/bluetooth/qlowenergycharacteristic.h @@ -46,7 +46,7 @@ #include <QtCore/QObject> #include <QtBluetooth/qbluetooth.h> #include <QtBluetooth/QBluetoothUuid> -#include <QtBluetooth/QLowEnergyDescriptorInfo> +#include <QtBluetooth/QLowEnergyDescriptor> QT_BEGIN_NAMESPACE @@ -86,7 +86,7 @@ public: QLowEnergyCharacteristic::PropertyTypes properties() const; QLowEnergyHandle handle() const; - QList<QLowEnergyDescriptorInfo> descriptors() const; + QList<QLowEnergyDescriptor> descriptors() const; bool isValid() const; |