Commits (4)
-
Alex Blasche authored
The enum value is 32 bit. the field we are reading is 8bit. Ensure that the higher bits are always set to 0. Change-Id: I317a877e23645c2785fd75e38494103f2272d2cd Reviewed-by:
Timur Pocheptsov <Timur.Pocheptsov@digia.com>
381dcbd8 -
Alex Blasche authored
handledata contains a 16bit char handle in the lower bits and may contains a 16bit descriptor handle in its upper 16 bits. When doing blob read requests for descriptors the upper 16 bit may be cut off and the descriptor read turns into a characteristic read. In turn this switches the internal state of the service discovery state machine causing an endless loop between descriptor and characteristic reads. Change-Id: Ia66f230e8fb018da51c3ce32db936d02a0b195b8 Task-number: QTBUG-47028 Reviewed-by:
Timur Pocheptsov <Timur.Pocheptsov@digia.com>
06f04ba7 -
Alex Blasche authored
Change-Id: I8b2c8931b3755306491deff51b57d1476fe87e3a Reviewed-by:
Timur Pocheptsov <Timur.Pocheptsov@digia.com>
3807f631 -
Alex Blasche authored
ATT_OP_READ_BY_TYPE_REQUEST may return more than one char description per response packet. Due to a missing offset adjustment we only ever read the first description. Subsequent description were read by issuing a new READ_BY_TYPE request. This is very inefficient as at worst 3 times as many requests had to be send to the device. Change-Id: I83ca75a42425fe230926411f068112865c249061 Reviewed-by:
Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by:
Alex Blasche <alexander.blasche@theqtcompany.com>
adfed122
Showing