diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-15 08:38:36 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-15 08:31:25 +0000 |
commit | 8589703bd4e377eeb2a01c43f0c13542f54133ba (patch) | |
tree | f857501a5db66582ee4dd10a43464d2ed1de211f /src/bluetooth/qbluetoothuuid.h | |
parent | c404946220004148faa0c38ffc7920b40fa625a2 (diff) |
Android: Avoid code duplication and don't break readWriteQueue
handleFor(Characteristic|Descriptor)() find a handle for a given
char and desc. We should reuse it inside the read notifier for
chars and descs.
In addition, under certain circumstances the read/write queue operation
was finished although the queue was not empty yet. This happened when
the last read operation failed with a certain type of error.
Now we always finish with a call to performNextIO().
Change-Id: Ifdb66c0b03d25ae19db7c49bcbe70eeec2665b6e
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
0 files changed, 0 insertions, 0 deletions