summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceprivate_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-08-27 13:36:13 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-09-02 20:18:26 +0200
commit2da622742aaf2566edea43b541180a7fb23cb899 (patch)
tree7f632bc65937326f7dd2d81e3efe6a5fdefda1ec /src/bluetooth/qlowenergyserviceprivate_p.h
parent4ab9c732a466dc793e5ec162a928d4350a29281c (diff)
Rename descriptorChanged() to descriptorWritten()
This is the part of a change to be able to distinguish characteristic write confirmations from characteristic change notifications. Since descriptors cannot receive notifications they won't have a changed() signal and all existing descriptorChanged() signals become descriptorWritten() signals. The changed() signal is emitted when a value notification is received from the device. The written() signal is emitted when a write request from the API user was successful. Change-Id: Ief2491ead4723eaa1bca65a09a09c34458f33630 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceprivate_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceprivate_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergyserviceprivate_p.h b/src/bluetooth/qlowenergyserviceprivate_p.h
index ec87da1f..9d41f21d 100644
--- a/src/bluetooth/qlowenergyserviceprivate_p.h
+++ b/src/bluetooth/qlowenergyserviceprivate_p.h
@@ -80,7 +80,7 @@ signals:
void error(QLowEnergyService::ServiceError error);
void characteristicChanged(const QLowEnergyCharacteristic &characteristic,
const QByteArray &newValue);
- void descriptorChanged(const QLowEnergyDescriptor &descriptor,
+ void descriptorWritten(const QLowEnergyDescriptor &descriptor,
const QByteArray &newValue);
public: