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

NRF connect doesn't reconnect when phone bluetooth is turned off and then back to on again

I connect to my BLE peripheral device using NRF connect app. While in connection, if I switch my phone's bluetooth off and turn it back again and then try to connect to my device then it doesn't connect. If I go to the "scanner" tab and do a scan, I observed that my device is advertising. When I press the connect button from the scanner screen then NRF connect connects to my device.

Why is NRF connect not able to connect when I press the connect button(upper right corner button) on the device's tab? And what happens when I do a scan, after which I am able to connect to my device?

OS: Android nugget on Motorola C.

Parents
  • I don't see that issue on my phone (Galaxy S8) . I was suspecting the BluetoothDevice instance was not free-ed up after the disconnection caused by turning off BLE on your phone. When you switch to scan panel, the instance is killed and new instance used to connect when you press connect there.

    But then it should show the same thing on my phone. It didn't.

    Have you updated the nRF Connect to latest version ?

    When you turn off Bluetooth have you waited long enough so the status on nRFConnect says "Disconnected" ?

Reply
  • I don't see that issue on my phone (Galaxy S8) . I was suspecting the BluetoothDevice instance was not free-ed up after the disconnection caused by turning off BLE on your phone. When you switch to scan panel, the instance is killed and new instance used to connect when you press connect there.

    But then it should show the same thing on my phone. It didn't.

    Have you updated the nRF Connect to latest version ?

    When you turn off Bluetooth have you waited long enough so the status on nRFConnect says "Disconnected" ?

Children
No Data
Related