:orphan: .. title:: CONFIG_BT_RX_STACK_SIZE .. kconfig:: CONFIG_BT_RX_STACK_SIZE CONFIG_BT_RX_STACK_SIZE ####################### *Size of the receiving thread stack* Type: ``int`` Help ==== .. code-block:: none 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 =================== (\ :kconfig:`BT_HCI_HOST ` || \ :kconfig:`BT_RECV_IS_RX_THREAD `) && \ :kconfig:`BT_HCI ` && \ :kconfig:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 512 if \ :kconfig:`BT_HCI_RAW ` - 2048 if \ :kconfig:`BT_MESH ` - 2200 if \ :kconfig:`BT_SETTINGS ` - 1024 Kconfig definition ================== At ``/bluetooth/host/Kconfig:83`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:9`` → ``/bluetooth/Kconfig:174`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth .. code-block:: kconfig config BT_RX_STACK_SIZE int "Size of the receiving thread stack" default 512 if BT_HCI_RAW default 2048 if BT_MESH default 2200 if BT_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.)*