qtconnectivity/config.tests
Lauri Laanmets 6d610e2a25 Don't require pairing when connecting to BLE on WinRT
If we are running on a Windows version with Creators Update or newer
(>=15063) we can use new bluetooth low energy API that allows us to
do device discovery without the requirement of having paired the
device.

Instead of connecting to the device and fetching its services, we can
use UUIDs from advertisement packages to get an initial service list.

By using that approach we can get rid of the pairing process in
'connectToDevice' and replace it with 'GetGattServicesAsync' if no
services are yet available. The old behavior was kept as a fallback for
the case where the device has already been paired.

If the backend is built with an older Windows Kit or the machine
running the application does not support the new API we fall back to
the old implementation which still requires pairing.

Task-number: QTBUG-58660
Change-Id: Ice262d4d993a0119efb8b6c8fe9a21830717569f
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
2018-10-08 05:34:50 +00:00
..
bluez Fix bluez config test failure on clang 2018-08-31 07:11:31 +00:00
bluez_le Convert qtconnectivity to the new configure system 2016-11-01 14:50:29 +00:00
linux_crypto_api Bluetooth LE: Add configure test for Linux crypto API. 2016-02-09 13:59:37 +00:00
winrt_bt Make winrt_bt config test fail on ICC 2018-07-17 05:17:59 +00:00
winrt_btle_no_pairing Don't require pairing when connecting to BLE on WinRT 2018-10-08 05:34:50 +00:00