Skip to content

Commit

Permalink
Explain how mush memory that will be used by each connection/advertiser.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shen Weilong committed Dec 2, 2022
1 parent b447086 commit dcc310f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/bt/controller/esp32c2/Kconfig.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if BT_LE_EXT_ADV
instances. Minimum there is always one instance of
advertising. Enter how many more advertising instances you
want.
Each extended advertising instance will take about 0.5k DRAM.

config BT_LE_EXT_ADV_MAX_SIZE
int "Maximum length of the advertising data."
Expand Down Expand Up @@ -339,7 +340,7 @@ config BT_LE_MAX_CONNECTIONS
is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu
along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to
configure BT_CTRL_BLE_MAX_ACT from controller menu.

Each connection will take about 1k DRAM.

choice BT_LE_COEX_PHY_CODED_TX_RX_TLIM
prompt "Coexistence: limit on MAX Tx/Rx time for coded-PHY connection"
Expand Down
3 changes: 2 additions & 1 deletion components/bt/controller/esp32h2/Kconfig.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if BT_LE_EXT_ADV
instances. Minimum there is always one instance of
advertising. Enter how many more advertising instances you
want.
Each extended advertising instance will take about 0.5k DRAM.

config BT_LE_EXT_ADV_MAX_SIZE
int "Maximum length of the advertising data."
Expand Down Expand Up @@ -339,7 +340,7 @@ config BT_LE_MAX_CONNECTIONS
is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu
along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to
configure BT_CTRL_BLE_MAX_ACT from controller menu.

Each connection will take about 1k DRAM.

choice BT_LE_COEX_PHY_CODED_TX_RX_TLIM
prompt "Coexistence: limit on MAX Tx/Rx time for coded-PHY connection"
Expand Down
3 changes: 3 additions & 0 deletions components/bt/host/nimble/Kconfig.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ config BT_NIMBLE_MAX_CONNECTIONS
is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu
along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to
configure BT_CTRL_BLE_MAX_ACT from controller menu.
For ESP32C2, ESP32C6 and ESP32H2, each connection will take about 1k DRAM.

config BT_NIMBLE_MAX_BONDS
int "Maximum number of bonds to save across reboots"
Expand Down Expand Up @@ -538,6 +539,8 @@ if BT_NIMBLE_EXT_ADV
instances. Minimum there is always one instance of
advertising. Enter how many more advertising instances you
want.
For ESP32C2, ESP32C6 and ESP32H2, each extended advertising instance
will take about 0.5k DRAM.

config BT_NIMBLE_EXT_ADV_MAX_SIZE
int "Maximum length of the advertising data."
Expand Down

0 comments on commit dcc310f

Please sign in to comment.