Skip to content

Commit

Permalink
Bluetooth: tests: shell: br : increase rfcomm dlc stack size
Browse files Browse the repository at this point in the history
For the shell RFCOMM case, these is a stack overflow problem when do
disconnect, so need to increase the CONFIG_BT_RFCOMM_DLC_STACK_SIZE.
After testing, the stack here requires at least 388 bytes. With an
additional 10% buffer, so set this size to 420.

Signed-off-by: Make Shi <[email protected]>
  • Loading branch information
makeshi committed Dec 20, 2024
1 parent b33b3b1 commit 429a290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/bluetooth/shell/prj_br.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_HRS=y
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
CONFIG_BT_DEVICE_NAME="test shell"
CONFIG_BT_RFCOMM_DLC_STACK_SIZE=420

0 comments on commit 429a290

Please sign in to comment.