summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycharacteristic.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-08-27 15:08:47 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-09-02 20:18:32 +0200
commit695afdf1a50340018db68f08be4aed6978e89724 (patch)
tree2a09bc5a02a0c4e34caaa89dc3bbfd26f1499e7d /src/bluetooth/qlowenergycharacteristic.cpp
parent2da622742aaf2566edea43b541180a7fb23cb899 (diff)
Add QLES::characteristicWritten() signal
The previous characteristicChanged() signal was emitted when the characteristic was updated due to a notification and when the value was changed using writeCharacteristic(). This meant that it was not possible to distinguish the two use cases. The new signal is only emitted in response to writeCharacteristic() whereas the old signal is only emitted when the peripheral indicates a change. Change-Id: Ie8797090f9463ae0e7fb053a42a79afa6829ca75 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergycharacteristic.cpp')
-rw-r--r--src/bluetooth/qlowenergycharacteristic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bluetooth/qlowenergycharacteristic.cpp b/src/bluetooth/qlowenergycharacteristic.cpp
index 8b7297d0..8d63419b 100644
--- a/src/bluetooth/qlowenergycharacteristic.cpp
+++ b/src/bluetooth/qlowenergycharacteristic.cpp
@@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE
The characteristic value may be written via the \l QLowEnergyService instance
that manages the service to which this characteristic belongs. The
\l {QLowEnergyService::writeCharacteristic()} function writes the new value.
- The \l {QLowEnergyService::characteristicChanged()} signal is emitted upon success.
+ The \l {QLowEnergyService::characteristicWritten()} signal is emitted upon success.
The \l value() of this object is automatically updated accordingly.
Characteristics may contain none, one or more descriptors. They can be individually