<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NIDeviceCapability/supportsBluetoothChannelSounding",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "c:objc(pl)NIDeviceCapability(py)supportsBluetoothChannelSounding"
  },
  "title" : "supportsBluetoothChannelSounding"
}
-->

# supportsBluetoothChannelSounding

A Boolean value that indicates whether the device supports distance measurements over a Bluetooth connection.

```
var supportsBluetoothChannelSounding: Bool { get }
```

## Discussion

Bluetooth Channel Sounding is a Bluetooth 6.0 specification ranging strategy that relies on a Bluetooth connection to measure distance between iPhone and a paired accessory.

Check this property before using Bluetooth Channel Sounding ranging to ensure the device has the required hardware capabilities. Running a Bluetooth Channel Sounding session on an unsupported device invalidates the session with an error.

To use Bluetooth Channel Sounding,

- Pair your accessory with <doc://com.apple.documentation/documentation/AccessorySetupKit>; the Nearby Interaction framework only supports Bluetooth Channel Sounding with accessories paired through <doc://com.apple.documentation/documentation/AccessorySetupKit>.
- Instantiate an [`NINearbyAccessoryConfiguration`](/documentation/NearbyInteraction/NINearbyAccessoryConfiguration) using the [`init(bluetoothChannelSoundingIdentifier:previousBluetoothIdentifier:)`](/documentation/NearbyInteraction/NINearbyAccessoryConfiguration/init(bluetoothChannelSoundingIdentifier:previousBluetoothIdentifier:)) initializer:

```swift
guard NISession.deviceCapabilities.supportsBluetoothChannelSounding else {
    print("Device doesn't support Bluetooth Channel Sounding.")
    return
}

// Create a configuration for Bluetooth Channel Sounding ranging.
let config = NINearbyAccessoryConfiguration(
    bluetoothChannelSoundingIdentifier: identifier,
    previousBluetoothIdentifier: nil
)
session.run(config)
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)