diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-08-27 13:36:13 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-09-02 20:18:26 +0200 |
commit | 2da622742aaf2566edea43b541180a7fb23cb899 (patch) | |
tree | 7f632bc65937326f7dd2d81e3efe6a5fdefda1ec /src/bluetooth/qlowenergydescriptor.cpp | |
parent | 4ab9c732a466dc793e5ec162a928d4350a29281c (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/qlowenergydescriptor.cpp')
-rw-r--r-- | src/bluetooth/qlowenergydescriptor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergydescriptor.cpp b/src/bluetooth/qlowenergydescriptor.cpp index 976ee73f..270a8a68 100644 --- a/src/bluetooth/qlowenergydescriptor.cpp +++ b/src/bluetooth/qlowenergydescriptor.cpp @@ -52,10 +52,10 @@ QT_BEGIN_NAMESPACE and so on). The descriptor value may be written via the \l QLowEnergyService instance - that manages the service to which this descriptor belongs. the + that manages the service to which this descriptor belongs. The \l {QLowEnergyService::writeDescriptor()} function writes the new value. - The \l {QLowEnergyService::descriptorChanged()} signal - is emitted upon success. The \l value() of this object is automatically updated accordingly. + The \l {QLowEnergyService::descriptorWritten()} signal + is emitted upon success. The cahced \l value() of this object is updated accordingly. \sa QLowEnergyService, QLowEnergyCharacteristic */ |