From 8f1350e8a9219f8d142c5e2cd400469cfde8d071 Mon Sep 17 00:00:00 2001 From: wppurking Date: Fri, 21 Nov 2025 15:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A9=E5=85=85=20CONFIG=5FBLE=5FCONN=5FMGR?= =?UTF-8?q?=5FEXTENDED=5FADV=5FCAP=20=E7=9A=84=E5=80=BC=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit esp_ble_conn_ext_advertise 方法中, 针对 adv_params 使用了 CONFIG_BLE_CONN_MGR_EXTENDED_ADV_CAP & BIT(0)~BIT(7) 进行了赋值, 但现在只能设置 0~15, 最多只能控制 BIT(0)~BIT(3), 无法控制高位的 BIT(4)~BIT(7), 如果扩充到 BIT(7) 应该是 0xFF, 转为 10 进制应该为 255. --- components/bluetooth/ble_conn_mgr/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bluetooth/ble_conn_mgr/Kconfig b/components/bluetooth/ble_conn_mgr/Kconfig index a7a5e2dca..68d9375fa 100644 --- a/components/bluetooth/ble_conn_mgr/Kconfig +++ b/components/bluetooth/ble_conn_mgr/Kconfig @@ -38,7 +38,7 @@ menu "BLE Connection Management" config BLE_CONN_MGR_EXTENDED_ADV_CAP int - range 0 15 + range 0 255 depends on BLE_CONN_MGR_EXTENDED_ADV default 0 prompt "Set Extended Advertising Capability"