diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index 692711f52d7..f5618c6d3dd 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -897,6 +897,13 @@ menu "Services" help Enable HeartRate Service support + config BT_NIMBLE_RAS_SERVICE + bool "Ranging service" + depends on BT_NIMBLE_CHANNEL_SOUNDING + default n + help + Enable Ranging Service (RAS) support for BLE Channel Sounding + menuconfig BT_NIMBLE_HID_SERVICE bool "Human Interface Device service" default n diff --git a/examples/bluetooth/nimble/ble_chan_sound_initiator/sdkconfig.defaults b/examples/bluetooth/nimble/ble_chan_sound_initiator/sdkconfig.defaults index 7f17246e200..070c1180fc7 100644 --- a/examples/bluetooth/nimble/ble_chan_sound_initiator/sdkconfig.defaults +++ b/examples/bluetooth/nimble/ble_chan_sound_initiator/sdkconfig.defaults @@ -14,6 +14,7 @@ CONFIG_BT_NIMBLE_60_FEATURE_SUPPORT=y CONFIG_BT_NIMBLE_ENABLED=y CONFIG_BT_NIMBLE_EXT_ADV=y CONFIG_BT_NIMBLE_CHANNEL_SOUNDING=y +CONFIG_BT_NIMBLE_RAS_SERVICE=y CONFIG_BT_NIMBLE_TRANSPORT_EVT_SIZE=78 CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=498 CONFIG_BT_NIMBLE_GATT_MAX_PROCS=6 diff --git a/examples/bluetooth/nimble/ble_chan_sound_reflector/sdkconfig.defaults b/examples/bluetooth/nimble/ble_chan_sound_reflector/sdkconfig.defaults index ccd144ad765..1417d40f372 100644 --- a/examples/bluetooth/nimble/ble_chan_sound_reflector/sdkconfig.defaults +++ b/examples/bluetooth/nimble/ble_chan_sound_reflector/sdkconfig.defaults @@ -14,4 +14,5 @@ CONFIG_BT_NIMBLE_60_FEATURE_SUPPORT=y CONFIG_BT_NIMBLE_ENABLED=y CONFIG_BT_NIMBLE_EXT_ADV=y CONFIG_BT_NIMBLE_CHANNEL_SOUNDING=y +CONFIG_BT_NIMBLE_RAS_SERVICE=y CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=498