perf: tune BLE scanning performance, switch over to NimBLE
This commit is contained in:
+13
-2
@@ -1,7 +1,18 @@
|
||||
CONFIG_BT_ENABLED=y
|
||||
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
|
||||
CONFIG_BT_BLUEDROID_ENABLED=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_NIMBLE_ENABLED=y
|
||||
# NimBLE host task pinned to core 0 alongside the BT controller (WiFi stays core 1)
|
||||
CONFIG_BT_NIMBLE_PINNED_TO_CORE_0=y
|
||||
# Only provisioning needs 1 connection; scanning needs 0
|
||||
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=1
|
||||
# mbuf pool sized for high-throughput advertisement reports
|
||||
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT=16
|
||||
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_SIZE=320
|
||||
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_COUNT=6
|
||||
CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=4096
|
||||
# Advertisement report flow control
|
||||
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP=y
|
||||
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=100
|
||||
|
||||
# WiFi
|
||||
CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=10
|
||||
|
||||
Reference in New Issue
Block a user