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

clearing the receive buffer

Hi,

I am using the nrf52832 dk

i am using the uart code from the sdk.

how do i clear the rx_buf and tx_buf (buffers) and set the pointers to the beginning of the buffers every time i clear it?

Related