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
- duplicates
-
QTBUG-40698 Implement Bluetooth for Windows
- Closed
For Gerrit Dashboard: QTBUG-57015 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
176702,3 | Update general QtBluetooth module introduction | 5.8 | qt/qtconnectivity | Status: MERGED | +2 | 0 |