summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyservice.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/qlowenergyservice.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/qlowenergyservice.h')
-rw-r--r--src/bluetooth/qlowenergyservice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergyservice.h b/src/bluetooth/qlowenergyservice.h
index 7bb2c0d3..e4612c8a 100644
--- a/src/bluetooth/qlowenergyservice.h
+++ b/src/bluetooth/qlowenergyservice.h
@@ -101,7 +101,7 @@ Q_SIGNALS:
void stateChanged(QLowEnergyService::ServiceState newState);
void characteristicChanged(const QLowEnergyCharacteristic &info,
const QByteArray &value);
- void descriptorChanged(const QLowEnergyDescriptor &info,
+ void descriptorWritten(const QLowEnergyDescriptor &info,
const QByteArray &value);
void error(QLowEnergyService::ServiceError error);