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

UART receive before handling

Hi,

I'm using nrf51822 and ble_app_uart(SDK 12.3.0).

I'm sending data from my android phone.

My question is that what happen if send data before previous data is not handled

in nus_data_handler() in main.c.

I do some work in nus_data_handler(). So sometimes it seems that data received

before previous data is not handled.

Should I slow down in android app? or ...

I'm not sure my question is understandable because of my poor English.

Thanks for reading my question!

Related