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

No BLE devices discovered on windows 10.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.8.0 Beta
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      windows 10

      Description

      Starting the example http://doc.qt.io/qt-5/qtbluetooth-lowenergyscanner-example.html while broadcasting with a BLE iphone app results in no devices listed.

      When writing a custom app that tries to scan with:

      discoveryAgent = new QBluetoothDeviceDiscoveryAgent();
      discoveryAgent->setLowEnergyDiscoveryTimeout(0);
      discoveryAgent->setInquiryType(QBluetoothDeviceDiscoveryAgent::GeneralUnlimitedInquiry);
      connect(discoveryAgent, SIGNAL(deviceDiscovered(const QBluetoothDeviceInfo&)),
      this, SLOT(addDevice(const QBluetoothDeviceInfo&)));
      connect(discoveryAgent, SIGNAL(error(QBluetoothDeviceDiscoveryAgent::Error)),
      this, SLOT(deviceScanError(QBluetoothDeviceDiscoveryAgent::Error)));
      connect(discoveryAgent, SIGNAL(finished()), this, SLOT(deviceScanFinished()));
      discoveryAgent->start(QBluetoothDeviceDiscoveryAgent::LowEnergyMethod);

      still the ble device advertisements are not picked up.

      If i use BluetoothLEAdvertisementWatcher in Visual Studio 2015 then advertisements are picked up, so it seems its not the problem with the BLE radio.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ablasche Alex Blasche
              Reporter:
              ttiganik T├Ánis Tiganik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes