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

QBluetoothServiceInfo::registerService registers to every local Bt adapter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.0
    • None

    Description

      SDP registration is not possible per local adapter.

      QBluetoothServiceInfo::registerService(const QBluetoothAddress &localAdapter = QBluetoothAddress());
      

      The localAdapter parameter is ignored on Bluez5. The relevant Bluez5 DBus API registers the current service object on all devices despite the fact that the server is only running on one adapter.

      Unfortunately the Bluez5 DBus API does not offer the option to choose the local adapter. Fixing this would require to manually interact with the SDP server which is a lot of effort. The question is whether two local devices are a use case that needs to be covered...

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes