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

No BLE devices discovered on windows 10.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.8.0 Beta
    • None
    • 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

              ablasche Alex Blasche
              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