-
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.
Direct dependencies¶
(BT_HCI_HOST
|| BT_RECV_IS_RX_THREAD
) && BT_HCI
&& BT
(Includes any dependencies from if’s and menus.)
Defaults¶
- 512 if
BT_HCI_RAW
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
- 2048 if
BT_MESH
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
- 2200 if
BT_SETTINGS
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
- 1024 if (
BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
Kconfig definition¶
At subsys/bluetooth/host/Kconfig:110
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:8
→ subsys/bluetooth/Kconfig:144
Menu path: (top menu) → Bluetooth
config BT_RX_STACK_SIZE int prompt "Size of the receiving thread stack" if (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
range 512 65536 ifBT_HCI_RAW
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
range 1100 65536 ifBT_MESH
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
range 1024 65536 if (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
default 512 ifBT_HCI_RAW
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
default 2048 ifBT_MESH
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
default 2200 ifBT_SETTINGS
&& (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
default 1024 if (BT_HCI_HOST
||BT_RECV_IS_RX_THREAD
) &&BT_HCI
&&BT
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.
(Definitions include propagated dependencies, including from if’s and menus.)