From 774c334372137034755f29d3c8c6a8c9d02e5efd Mon Sep 17 00:00:00 2001 From: yangfeng Date: Tue, 9 Jun 2026 19:27:15 +0800 Subject: [PATCH] fix: Fix the incorrect connection of the same-name devices in the HFP example --- .../bluetooth/bluedroid/classic_bt/hfp_ag/sdkconfig.ci.extcodec | 1 + .../bluetooth/bluedroid/classic_bt/hfp_hf/sdkconfig.ci.extcodec | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/sdkconfig.ci.extcodec b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/sdkconfig.ci.extcodec index 761b29c1457..419df6054de 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_ag/sdkconfig.ci.extcodec +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_ag/sdkconfig.ci.extcodec @@ -11,3 +11,4 @@ CONFIG_BT_HFP_AG_ENABLE=y CONFIG_BT_HFP_AUDIO_DATA_PATH_HCI=y CONFIG_BT_HFP_USE_EXTERNAL_CODEC=y CONFIG_EXAMPLE_ENABLE_CONSOLE_REPL=n +CONFIG_EXAMPLE_LOCAL_DEVICE_NAME="${CI_PIPELINE_ID}_HFP" diff --git a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/sdkconfig.ci.extcodec b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/sdkconfig.ci.extcodec index 62e13eedb8c..7251c972b92 100644 --- a/examples/bluetooth/bluedroid/classic_bt/hfp_hf/sdkconfig.ci.extcodec +++ b/examples/bluetooth/bluedroid/classic_bt/hfp_hf/sdkconfig.ci.extcodec @@ -11,3 +11,4 @@ CONFIG_BT_HFP_CLIENT_ENABLE=y CONFIG_BT_HFP_AUDIO_DATA_PATH_HCI=y CONFIG_BT_HFP_USE_EXTERNAL_CODEC=y CONFIG_EXAMPLE_ENABLE_CONSOLE_REPL=n +CONFIG_EXAMPLE_PEER_DEVICE_NAME="${CI_PIPELINE_ID}_HFP"