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

Crash when discovery Bluetooth LE device on Windows with Bluetooth off

    XMLWordPrintable

Details

    • Windows
    • 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

        For Gerrit Dashboard: QTBUG-95156
        # Subject Branch Project Status CR V

        Activity

          People

            owolff Oliver Wolff
            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