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

[macOS] Emit QBluetoothLocalDevice::hostModeStateChanged if possible

    XMLWordPrintable

Details

    • macOS
    • 5
    • Foundation PM Staging

    Description

      The macOS backend uses IOBluetoothHostController in its implementation. This class does not provide any ways to set the host mode, so QBluetoothLocalDevice::setHostMode() is effectively a no-op.

      However, the user can toggle bluetooth on and off from the system settings. We need to investigate if we can detect such external adapter state changes and emit the QBluetoothLocalDevice::hostModeStateChanged() signal in response.

      If there's no platform-specific API to detect the adapter state changes, we should at least explicitly mention in the documentation that the signal is not emitted on macOS.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes