Bluetooth Low Energy Background Scan

I have a bluetooth device from which I receive data through this
Code Block
func centralManager(_ central: CBCentralManager, didDiscover peripheral: CBPeripheral, advertisementData: [String : Any], rssi RSSI: NSNumber)

block without connecting to the device. Is it possible to scan for this device in the background without connection ? If so, any help on implementation please ?


Answered by Claude31 in 655361022
I’m not very familiar with bluetooth management.
I just know there are limitations to the use of BT in background.

Could this help you ?
https://stackoverflow.com/questions/53830181/ble-background-scan-is-not-working-in-swift

Accepted Answer
I’m not very familiar with bluetooth management.
I just know there are limitations to the use of BT in background.

Could this help you ?
https://stackoverflow.com/questions/53830181/ble-background-scan-is-not-working-in-swift

Thank you for your revert Claude.

As far as I see, connection is a requirement for scanning BLE devices in the background.
Bluetooth Low Energy Background Scan
 
 
Q