Fixed discovery speed
This commit is contained in:
parent
45ce9b1cd7
commit
76e457593e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ bool QBluetoothLeUart::startScanningForDevices(){
|
||||||
this->availableDevices.clear();
|
this->availableDevices.clear();
|
||||||
|
|
||||||
this->setState(Scanning);
|
this->setState(Scanning);
|
||||||
this->bluetoothDeviceDiscoveryAgent->start();
|
this->bluetoothDeviceDiscoveryAgent->start(QBluetoothDeviceDiscoveryAgent::LowEnergyMethod);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue