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

QBluetoothServiceInfo::registerService registers to every local Bt adapter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Labels:
      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

            Assignee:
            ablasche Alex Blasche
            Reporter:
            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