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

How to clear memory buffer which stores the received data over BLE UART after each transmission?

I am using ble_app_uart example to transmit data from phone to the NRF52840 device. The issue is, the buffer retains previous data sent and this prints alongwith the new data sent. Is there a way to clear the buffer before a new transmission occurs?

SDK - 17.0

Board - NRF52840

Related