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 reconnect

Hi, I am using nRF5_SDK_11.0.0_89a8197 at center to debug ble_app_uart_c project. The center can connect the device well at the beginning. But if I power on and power off the device frequently(about 5 second per cycle), the center can't connetct the device any more after several cycles(2~3cycles or more). But the device works well, and can be connected by other center. So the problem is on the center.
Can you help to give some suggestion please?

  • @mansfield: I assume if you reset the central, it can connect to the device again ?

    I'm suspecting there could be an issue that the central didn't start scanning and connecting after disconnection. You may want to add some debug trace to:

    • Check if Connected and Disconnected events triggered correctly.
    • Check if after disconnection the central scans and connects again (depends on how you do it, either scan first and then connect or connect directly).

    Did you modify anything with the ble_app_uart_c ? I assume you are testing with one of our Development kits ? Was it S130 or S132 ?

Related