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

BLE Peripheral does not connect back after BLE central disconnects the first time

Hello Everyone, 

I am facing an issue when trying to connect back BLE central again after disconnecting it from the BLE peripheral once.

The issue is reproducible as follows: 

1. Start BLE peripheral on nrf52 DK (SD v14.2) running ble_app_uart and BLE central on another nrf52 DK running ble_app_uart_c example. 

2. Disconnect the power source for central device.

3. Once disconnected, connect back the power source in order to re-establish the connection. 

Observation: Peripheral and Central donot pair back again, until and unless you power cycle the peripheral device.

From my understanding, BLE central is the one that will be requesting the pairing and in the ble_app_uart_c code, i see that once disconnected, it is trying to start the scan again for pairing up. But still, they donot pair up once disconnected. Could  you please help me suggest where i am going wrong with this? 

I am under the assumption that once it disconnects, it should reconnect again once withing range. 

Please let me know your thoughts and suggestions. Appreciate your help.

Thank you! 

Parents Reply Children
No Data
Related