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

QBluetoothDeviceDiscoveryAgent should fail on macOS if provided with invalid address

    XMLWordPrintable

Details

    • macOS
    • 5f703bf63e (qt/qtconnectivity/dev) 21c1a2c81d (qt/qtconnectivity/6.3) 21c1a2c81d (qt/tqtc-qtconnectivity/6.3) 5f703bf63e (qt/tqtc-qtconnectivity/dev)

    Description

      QBluetoothDeviceDiscoveryAgent (QDDA) is used to perform bluetooth device discoveries / inquiries. The constructor of the QDDA allows specifying which local adapter to use.

      The macOS QDDA implementation uses the default adapter unconditionally. This is fine in itself, but in case the constructor has been provided with an address, we should check that it matches with the local adapter (and signal an error if not).

      This is reproducible with tst_qbluetoothdevicediscoveryagent autotest.

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            vuokko Juha Vuolle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes