-
CONFIG_BT_RX_STACK_SIZE
¶
Size of the receiving thread stack
Type: int
Help¶
Size of the receiving thread stack. This is the context from which all event callbacks to the application occur. The default value is sufficient for basic operation, but if the application needs to do advanced things in its callbacks that require extra stack space, this value can be increased to accommodate for that.
Help¶
Size of the receiving thread stack. This is the context from which all event callbacks to the application occur. The default value is sufficient for basic operation, but if the application needs to do advanced things in its callbacks that require extra stack space, this value can be increased to accommodate for that.
Direct dependencies¶
((BT_HCI_HOST
|| BT_RECV_IS_RX_THREAD
) && BT_LL_SOFTDEVICE
&& BT
) || ((BT_HCI_HOST
|| BT_RECV_IS_RX_THREAD
) && BT_HCI
&& BT
)
(Includes any dependencies from ifs and menus.)
Defaults¶
512 if
BT_HCI_RAW
2048 if
BT_MESH
2200 if
BT_SETTINGS
1024
512 if
BT_HCI_RAW
2048 if
BT_MESH
2200 if
BT_SETTINGS
1024
Kconfig definitions¶
At <nRF>/subsys/bluetooth/controller/Kconfig:21
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:9
→ <BuildDir>/Kconfig/Kconfig.modules:1
→ <nRF>/Kconfig.nrf:25
→ <nRF>/subsys/Kconfig:10
→ <nRF>/subsys/bluetooth/Kconfig:21
Menu path: (Top) → Modules → Nordic nRF Connect → Bluetooth Low Energy → Nordic BLE controller
config BT_RX_STACK_SIZE int range 512 65536 ifBT_HCI_RAW
range 1100 65536 ifBT_MESH
range 1024 65536 default 512 ifBT_HCI_RAW
default 2048 ifBT_MESH
default 2200 ifBT_SETTINGS
default 1024 depends on (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_LL_SOFTDEVICE
&&BT
help Size of the receiving thread stack. This is the context from which all event callbacks to the application occur. The default value is sufficient for basic operation, but if the application needs to do advanced things in its callbacks that require extra stack space, this value can be increased to accommodate for that.
At <Zephyr>/subsys/bluetooth/host/Kconfig:138
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:8
→ <Zephyr>/subsys/bluetooth/Kconfig:239
Menu path: (Top) → Sub Systems and OS Services → Bluetooth
config BT_RX_STACK_SIZE int "Size of the receiving thread stack" default 512 ifBT_HCI_RAW
default 2048 ifBT_MESH
default 2200 ifBT_SETTINGS
default 1024 depends on (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
help Size of the receiving thread stack. This is the context from which all event callbacks to the application occur. The default value is sufficient for basic operation, but if the application needs to do advanced things in its callbacks that require extra stack space, this value can be increased to accommodate for that.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)