diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-12-22 08:54:24 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-12-22 09:05:14 +0100 |
commit | a3e2b199366c7a8f71842369cf266107a3b38490 (patch) | |
tree | a89232fd7999d7625c59b29c2fbc3e9527559539 /src/bluetooth/qlowenergyservice.cpp | |
parent | 60e8e3bfbcd584b49f81ad5b265930cdac0a0628 (diff) | |
parent | 69b60f0f92c6d92e619d20caa98cdfb20766821d (diff) |
Merge remote-tracking branch 'gerrit/dev' into neard
Change-Id: I48826b6a83d8876b97095387cd329165a534eec2
Diffstat (limited to 'src/bluetooth/qlowenergyservice.cpp')
-rw-r--r-- | src/bluetooth/qlowenergyservice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bluetooth/qlowenergyservice.cpp b/src/bluetooth/qlowenergyservice.cpp index a05ba4ec..62beff91 100644 --- a/src/bluetooth/qlowenergyservice.cpp +++ b/src/bluetooth/qlowenergyservice.cpp @@ -594,13 +594,13 @@ bool QLowEnergyService::contains(const QLowEnergyCharacteristic &characteristic) serialised. A queue is employed when issuing multiple requests at the same time. The queue does not eliminate duplicated read requests for the same characteristic. - A characteristic can only be read if the service is in the \l ServiceDiscovered state, - belongs to the service. If one of these conditions is + A characteristic can only be read if the service is in the \l ServiceDiscovered state + and belongs to the service. If one of these conditions is not true the \l QLowEnergyService::OperationError is set. \note Calling this function despite \l QLowEnergyCharacteristic::properties() reporting a non-readable property always attempts to read the characteristic's value on the hardware. If the hardware - returns with an error the \l CharacteristicWriteError is set. + returns with an error the \l CharacteristicReadError is set. \sa characteristicRead(), writeCharacteristic() @@ -646,7 +646,7 @@ void QLowEnergyService::readCharacteristic( \note Currently, it is not possible to use signed or reliable writes as defined by the Bluetooth specification. - A characteristic can only be written if this service is in the \l ServiceDiscovered state, + A characteristic can only be written if this service is in the \l ServiceDiscovered state and belongs to the service. If one of these conditions is not true the \l QLowEnergyService::OperationError is set. |