Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.1
-
None
Description
QBluetoothServiceDiscoveryAgent::uuidFilter() ensures that SDP discovery results are pre-filtered before the discovery results are returned via serviceDiscovered(). On Android the filter is not properly applied. It only ever tried to match QBluetoothServiceInfo::serviceUuid() when it should also try to match QBluetoothServiceInfo::serviceClassUuids().
As a workaround, users should not use setFilterUuids() when they want to match service class uuids. When no filter is set, all services are returned and the user can write his own filtering code.
Attachments
For Gerrit Dashboard: QTBUG-69700 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
236886,3 | Android: Fix QBluetoothServiceDiscoveryAgent::uuidFilter() behavior | 5.11 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
236889,1 | Android: Fix QBluetoothServiceDiscoveryAgent::uuidFilter behavior | dev | qt/qtconnectivity | Status: ABANDONED | 0 | 0 |