From e2435d0061cf86a32ddc47301a01366c7a6f8cc3 Mon Sep 17 00:00:00 2001 From: Olivier Lesage Date: Tue, 19 Nov 2024 14:10:58 +0100 Subject: [PATCH] bluetooth: samples: Remove auto phy update from connected CS samples Unless the PHY is managed by LE power control, the CS procedure phy needs to match the ACL phy. Disabling the auto phy updates keeps the ACL on 1M. The alternative would be to read the current phy by enabling BT_USER_PHY_UPDATE but this still doesn't work if the phy is changed after being read. Signed-off-by: Olivier Lesage --- .../bluetooth/channel_sounding/connected_cs/initiator/prj.conf | 1 + .../bluetooth/channel_sounding/connected_cs/reflector/prj.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/bluetooth/channel_sounding/connected_cs/initiator/prj.conf b/samples/bluetooth/channel_sounding/connected_cs/initiator/prj.conf index 2ed92de59e8..c18f598faf4 100644 --- a/samples/bluetooth/channel_sounding/connected_cs/initiator/prj.conf +++ b/samples/bluetooth/channel_sounding/connected_cs/initiator/prj.conf @@ -2,6 +2,7 @@ CONFIG_BT=y CONFIG_BT_SMP=y CONFIG_BT_CENTRAL=y CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n +CONFIG_BT_AUTO_PHY_UPDATE=n CONFIG_BT_GATT_CLIENT=y CONFIG_BT_GATT_DYNAMIC_DB=y CONFIG_BT_ATT_PREPARE_COUNT=3 diff --git a/samples/bluetooth/channel_sounding/connected_cs/reflector/prj.conf b/samples/bluetooth/channel_sounding/connected_cs/reflector/prj.conf index 016d0de98c2..86bb2fb0524 100644 --- a/samples/bluetooth/channel_sounding/connected_cs/reflector/prj.conf +++ b/samples/bluetooth/channel_sounding/connected_cs/reflector/prj.conf @@ -2,6 +2,7 @@ CONFIG_BT=y CONFIG_BT_SMP=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_GAP_AUTO_UPDATE_CONN_PARAMS=n +CONFIG_BT_AUTO_PHY_UPDATE=n CONFIG_BT_GATT_CLIENT=y CONFIG_BT_CHANNEL_SOUNDING=y