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