Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69700

QBluetoothServiceDiscoveryAgent::uuidFilter ignores service class uuids on Android

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.11.2
    • 5.11.1
    • None
    • Android

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ablasche Alex Blasche
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes