Set CBCentralManagerScanOptionAllowDuplicatesKey to true (#51)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
* Add .perDevice queue
|
||||
* Improve code level documentation
|
||||
* Support "ProvidePin" pairing on Windows 10/11
|
||||
* Get RRSI updates on Apple platforms
|
||||
|
||||
## 0.9.11
|
||||
* Add device name prefix filtering
|
||||
|
||||
@@ -73,7 +73,8 @@ private class BleCentralDarwin: NSObject, UniversalBlePlatformChannel, CBCentral
|
||||
// Save scanFilter for later user
|
||||
scanFilter = filter
|
||||
|
||||
manager.scanForPeripherals(withServices: withServices)
|
||||
let options = [CBCentralManagerScanOptionAllowDuplicatesKey: true]
|
||||
manager.scanForPeripherals(withServices: withServices, options: options)
|
||||
}
|
||||
|
||||
func stopScan() throws {
|
||||
|
||||
Reference in New Issue
Block a user