From 76e457593e889885fd410fdbcdd659706a1eceb8 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Thu, 15 Oct 2020 17:20:51 +0200 Subject: [PATCH] Fixed discovery speed --- qbluetoothleuart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbluetoothleuart.cpp b/qbluetoothleuart.cpp index 12cb49a..d818c83 100644 --- a/qbluetoothleuart.cpp +++ b/qbluetoothleuart.cpp @@ -42,7 +42,7 @@ bool QBluetoothLeUart::startScanningForDevices(){ this->availableDevices.clear(); this->setState(Scanning); - this->bluetoothDeviceDiscoveryAgent->start(); + this->bluetoothDeviceDiscoveryAgent->start(QBluetoothDeviceDiscoveryAgent::LowEnergyMethod); return true; }