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

example peripheral_uart in nrf connect SDK v1.5.0 , i use nrf5340_DK test this example with a bluetooth APP in a phone ,the largest bytes of nrf5340_dk kit can send to app is 20 a time, how can i increase data number ?

in prj.conf, i  add below:

CONFIG_BT_USER_DATA_LEN_UPDATE=y
CONFIG_BT_CTLR_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251

in att_internal.h , change # define  BT_ATT_DEFAULT_LE_MTU  23   into  # define  BT_ATT_DEFAULT_LE_MTU  43 

in gap.h , change # define  BT_GAP_DATA_LEN_DEFAULT  0x1b   into  # define  # define  BT_GAP_DATA_LEN_DEFAULT  0x2e

build/debug go ,have no result ,the large numble of bluetooth of nrf5340-dk can send to app of phone is 20 bytes  ,is there any has this experiment and have resolution?

Parents Reply Children
No Data
Related