diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-07-10 15:47:41 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-07-16 08:28:46 +0200 |
commit | f399837b3a723af9add6d9ea2d2e988f64f76ae0 (patch) | |
tree | 2c2a17ff5c4cfd007af98c98c70a2bf8c5fe8984 /src/bluetooth/qlowenergyservice.h | |
parent | 8bf7e9986e359df46bb351dfb76e4140d9b04da7 (diff) |
Add simpler API to retrieve descriptor/characteristic for certain uuid
This new API is mostly syntactic sugar and reduces the amount of code
to be written by API users.
Change-Id: I51ff1ea706ac97199646d211e39e79c8140ee74b
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qlowenergyservice.h')
-rw-r--r-- | src/bluetooth/qlowenergyservice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergyservice.h b/src/bluetooth/qlowenergyservice.h index 1250e3a7..fcaf9496 100644 --- a/src/bluetooth/qlowenergyservice.h +++ b/src/bluetooth/qlowenergyservice.h @@ -79,7 +79,7 @@ public: QLowEnergyService::ServiceType type() const; QLowEnergyService::ServiceState state() const; - // TODO: Simplify obtaining characteristic (e.g. via uuid) + QLowEnergyCharacteristic characteristic(const QBluetoothUuid &uuid) const; QList<QLowEnergyCharacteristic> characteristics() const; QBluetoothUuid serviceUuid() const; QString serviceName() const; |