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

How do I wait until a response come after data sent through UART module of nRF51822?

On a BLE_GAP_EVT_CONNECTED, I'll send some data to an attached microcontroller via UART. The code will expect a response of that data, all while being inside that BLE_GAP_EVT_CONNECTED switch block. Can anybody please share a code snippet to do that? Your help is greatly appreciated. Thanks in advance.

Parents Reply Children
No Data
Related