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

[macOS] Emit QBluetoothLocalDevice::hostModeStateChanged if possible

    XMLWordPrintable

Details

    • macOS
    • 8
    • 86cd96a6b (dev), b073ee5c1 (6.8), 6d9110978 (6.7), 7c64e6062 (tqtc/lts-6.5)
    • Foundation Sprint 114, Foundation Sprint 115

    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

            vuokko Juha Vuolle
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews