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

QBluetoothServiceDiscoveryAgent::uuidFilter ignores service class uuids on Android

    XMLWordPrintable

Details

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

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes