func
NewiOS
cancelChannelSoundingSession
NewiOSopen func cancelChannelSoundingSession()What's New / Connectivity & Hardware
CoreBluetooth is Apple's framework for communicating with Bluetooth Low Energy devices. It covers the central and peripheral roles, scanning, connecting, and exchanging data over GATT services and characteristics.
The 27 SDK adds 10 APIs, all for channel sounding. It adds the CBCentralManager.Feature.channelSounding flag, two CBError.Code cases (channelSoundingConfigurationFailed and channelSoundingProcedureFailed) with matching CBError values, the startChannelSoundingSession and cancelChannelSoundingSession methods, a Role enum, and CBPeripheralDelegate callbacks. No deprecations or removals.
cancelChannelSoundingSessionopen func cancelChannelSoundingSession()startChannelSoundingSessionopen func startChannelSoundingSession(_ configuration: CBChannelSoundingSessionConfiguration)CBCentralManager.Feature.channelSoundingpublic static var channelSounding: CBCentralManager.Feature { get }CBChannelSoundingSessionConfiguration.Rolepublic enum Role : Int, @unchecked Sendablepublic enum Role : Int, @unchecked Sendable {
case initiator = 0
}CBError.channelSoundingConfigurationFailedpublic static var channelSoundingConfigurationFailed: CBError.Code { get }CBError.channelSoundingProcedureFailedpublic static var channelSoundingProcedureFailed: CBError.Code { get }CBError.Code.channelSoundingConfigurationFailedcase channelSoundingConfigurationFailed = 19CBError.Code.channelSoundingProcedureFailedcase channelSoundingProcedureFailed = 20CBPeripheralDelegate.peripheraloptional func peripheral(_ peripheral: CBPeripheral, didReceive results: CBChannelSoundingProcedureResults?, error: (any Error)?)CBPeripheralDelegate.peripheraloptional func peripheral(_ peripheral: CBPeripheral, didCompleteChannelSoundingSession error: (any Error)?)No APIs match your filter.