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

Not able to transmit more than 20bytes with sample application "central_uart"

Hello,

I am working on nrf5340DK board and with a sample example "central_uart" under ncs->nrf->samples->bluetooth & "peripheral_uart" from ncs v1.5.1. I wanted to send approx 200~300bytes but not able to send more than 20bytes. 

When trying to send more than 20bytes getting warning " ATT error code: 0x06" from the function ble_data_sent() at central_uart side and not receiving any data at peripheral side.

I tried the following changes but did not worked out for me:

1. Changed  BT_NUS_UART_BUFFER_SIZE  to 200 in prj.cnf of peripheral_uart 

2. Increased  default BT_L2CAP_RX_MTU and BT_L2CAP_TX_MTU  in ncs/zephyr/subsys/bluetooth/host/Kconfig.l2cap

Please help me to send approx 200~300 bytes from central_uart to peripheral_uart overl BLE. 

Best Regards,

SanketC

Related