diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-12-11 18:17:00 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2015-12-14 15:07:20 +0000 |
commit | cd81e43c26ea998aa009ea452e5723059ded8595 (patch) | |
tree | 06a39339508f9b85c920518d0b874028e6e92dee | |
parent | 5e73fbe10d14cc1fedba4c2e327ebf2b07bc1a9e (diff) |
Bluetooth: Documentation fix.v5.6.0-beta1
Change-Id: I095fbdfff6ba753c5c9bfbf204b3ac70d8108376
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-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 9cccbc93..30a66db8 100644 --- a/src/bluetooth/qlowenergyservice.cpp +++ b/src/bluetooth/qlowenergyservice.cpp @@ -584,13 +584,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() @@ -630,7 +630,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. |