diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-14 13:22:50 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-15 08:31:18 +0000 |
commit | c404946220004148faa0c38ffc7920b40fa625a2 (patch) | |
tree | e597c4b6d34ec897cde2c7fbcbf7464b1b490181 | |
parent | ad8319475f5027880ffeea7af443562e707c68c3 (diff) |
Misc fixes based on code review comments
- doc fixes
Change-Id: I4a5f413672d30c53be0cfcb022953e8ba3da6a83
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
-rw-r--r-- | src/bluetooth/qlowenergyservice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergyservice.cpp b/src/bluetooth/qlowenergyservice.cpp index 31ae0608..f7a73326 100644 --- a/src/bluetooth/qlowenergyservice.cpp +++ b/src/bluetooth/qlowenergyservice.cpp @@ -115,7 +115,7 @@ QT_BEGIN_NAMESPACE forwarded to the connected device and it is up to the device to respond to the potentially invalid request. In this case the result is the emission of the \l CharacteristicWriteError in response to the returned device error. This behavior - simplies interaction with devices which report wrong meta information. + simplifies interaction with devices which report wrong meta information. If it was not possible to forward the request to the remote device the \l OperationError is set. A potential reason could be that the to-be-written characteristic object does not even belong the current service. In @@ -704,8 +704,8 @@ bool QLowEnergyService::contains(const QLowEnergyDescriptor &descriptor) const serialised. A queue is employed when issuing multiple requests at the same time. The queue does not eliminate duplicated read requests for the same descriptor. - A descriptor can only be written if the service is in the \l ServiceDiscovered state - and belongs to the service. If one of these conditions is + A descriptor can only be read if the service is in the \l ServiceDiscovered state + and the descriptor belongs to the service. If one of these conditions is not true the \l QLowEnergyService::OperationError is set. \sa descriptorRead(), writeDescriptor() |