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

Crash when discovery Bluetooth LE device on Windows with Bluetooth off

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 6.2.0 RC
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      7e727310cf48f3a315ec66d2440bd03676f5982a (qt/tqtc-qtconnectivity/5.15)

      Description

      seem, when i tried discovery BT devices with BT off, it crashed.
      but, i don't know how to know BT driver on or off. do QT lib support this?
      QBluetoothLocalDevice::hostModeStateChanged() and HostMode hostMode() always has result: QBluetoothLocalDevice::HostConnectable . -> it doesn't work well?

      ASSERT failure in void __cdecl QWinRTBluetoothDeviceDiscoveryWorker::setupLEDeviceWatcher(void): "The device is not ready for use.", file qbluetoothdevicediscoveryagent_winrt.cpp, line 414
      

      OS: windows 10 (almost newest version){{}}
      QT: 5.15.2.
      Happened every time.

        Attachments

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

          Activity

            People

            Assignee:
            owolff Oliver Wolff
            Reporter:
            hoangpham Hoang Pham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes