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

about ble_app_uart_c example

Hi guys, I have a question about ble_app_uart_c example in SDK. (I'm using the latest SDK, 15.3)

And my board is nRF52 DK, which is PCA10040.

While I'm testing ble_app_uart_c example, it made some problems.

When I type something using PC(uart) on nRF52 DK(Central), it works very well.

It receive UART signal and send data to peripheral by BLE.

However, the problem appears when it receive data using BLE.

When it receive data by BLE, it cannot receive data but reconnect again.

I saw that it is because in 'ble_nus_c_evt_handler' function, p_ble_nus_evt->evt_type turns to BLE_NUS_C_EVT_DISCOVERY_COMPLETE, not BLE_NUS_C_EVT_NUS_TX_EVT.

Is there anyone who can solve this issue?

Thanks a lot.

Related