This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NCS how to increase NUS max frame size

nRF5340 with NCS 1.4.0.

I'm using the NUS (code derived from central_uart & peripheral_uart sample) and i'm trying to send longer frame.

I have tried to add the following lines in my proj.conf but I was unsuccessful:

CONFIG_BT_DATA_LEN_UPDATE=y
CONFIG_BT_L2CAP_RX_MTU=247
CONFIG_BT_L2CAP_TX_MTU=247
CONFIG_BT_CTLR_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

What should i do to allow frame of 251 bytes ?

Edited subject: NCS how to enable DLE -> NCS how to increase NUS max frame size

Related