最終更新:2024-05-14 (火) 10:02:08 (74d)
CBCentralManager.scanForPeripherals(withServices:options:)
Top / CBCentralManager.scanForPeripherals(withServices:options:)
Scans for peripherals that are advertising services.
https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518986-scanforperipherals
func scanForPeripherals( withServices serviceUUIDs: [CBUUID]?, options: [String : Any]? = nil )
options
https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/peripheral_scanning_options
CBCentralManagerScanOptionAllowDuplicatesKey A Boolean value that specifies whether the scan should run without duplicate filtering. CBCentralManagerScanOptionSolicitedServiceUUIDsKey An array of service UUIDs that you want to scan for.