From 695afdf1a50340018db68f08be4aed6978e89724 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 27 Aug 2014 15:08:47 +0200 Subject: 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 --- src/bluetooth/qlowenergycharacteristic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bluetooth/qlowenergycharacteristic.cpp') 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 -- cgit v1.2.3