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

No BLE devices discovered on windows 10.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.8.0 Beta
    • None
    • windows 10

      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.

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

            ablasche Alex Blasche
            ttiganik Tõnis Tiganik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes