Skip to content

Commit 8f1350e

Browse files
authored
扩充 CONFIG_BLE_CONN_MGR_EXTENDED_ADV_CAP 的值空间
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.
1 parent 8160bf5 commit 8f1350e

File tree

1 file changed

+1
-1
lines changed
  • components/bluetooth/ble_conn_mgr

1 file changed

+1
-1
lines changed

components/bluetooth/ble_conn_mgr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ menu "BLE Connection Management"
3838

3939
config BLE_CONN_MGR_EXTENDED_ADV_CAP
4040
int
41-
range 0 15
41+
range 0 255
4242
depends on BLE_CONN_MGR_EXTENDED_ADV
4343
default 0
4444
prompt "Set Extended Advertising Capability"

0 commit comments

Comments
 (0)