Set CBCentralManagerScanOptionAllowDuplicatesKey to true (#51)

This commit is contained in:
Foti Dim
2024-06-12 06:02:52 +02:00
committed by GitHub
parent b74191bb97
commit 7d6714e53a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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
+2 -1
View File
@@ -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 {