Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
None
-
-
3
-
28127f4e2 (dev), c5174e47f (6.8), 2081b4ae2 (6.7), bd40cef1c (tqtc/lts-6.5)
-
Foundation Sprint 109
Description
I am working on a project where I listen for Extended Advertisement packets over Bluetooth LE 5.0, and in the QtConnectivity-module it works on Linux, but not on Windows...
So I took the liberty of debugging the issue myself and found the missing "line" in the QtConnectivity-code on github. Compiled and tested it, and it now works for me.
Added this line directly under line 118 in the file "qbluetoothdevicediscoveryagent_winrt.cpp"
m_watcher.AllowExtendedAdvertisements(true);
There are some BLE 5.x dongles that support Extended Advertisement packets in hardware, but lack driver-implementation of this feature on the Windows driver. Like the ASUS BT500 that works on Linux, but not on Windows.
My other Intel Wireless Bluetooth device works on both Windows and Linux though! (After this patch)
Attachments
For Gerrit Dashboard: QTBUG-124650 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
565385,2 | Windows BTLE: support extended advertisements when scanning | dev | qt/qtconnectivity | Status: MERGED | +2 | 0 |
565915,2 | Windows BTLE: support extended advertisements when scanning | 6.8 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
565958,2 | Windows BTLE: support extended advertisements when scanning | 6.7 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
566011,2 | Windows BTLE: support extended advertisements when scanning | tqtc/lts-6.5 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |