mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-01 07:39:11 +00:00
[Linux] Start/Stop BLE scan when going to sleep
This commit is contained in:
committed by
Tim Gromeyer
parent
05c0a7c88b
commit
fb3c8c73a4
@@ -112,6 +112,11 @@ void BleManager::stopScan()
|
||||
discoveryAgent->stop();
|
||||
}
|
||||
|
||||
bool BleManager::isScanning() const
|
||||
{
|
||||
return discoveryAgent->isActive();
|
||||
}
|
||||
|
||||
void BleManager::onDeviceDiscovered(const QBluetoothDeviceInfo &info)
|
||||
{
|
||||
// Check for Apple's manufacturer ID (0x004C)
|
||||
|
||||
Reference in New Issue
Block a user