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

I am using NRF51822 BLE and sdk version is 11.0. But my BLE gets disconnected from my Central iOS app when app goes into background ?

Description: I am developing iOS app which will connect BLE and keep the connection till user don't want to disconnect. i.e we want to autoconnect BLE when BLE is in range and when BLE is out of range the connection status shown in app is disconnected.

NOW i have already enable the background mode still my app gets disconnected from BLE if app is in background for more than 3 min.Background modes

Parents
  • Hi @run_ar I need to get the location update so location update is on for background mode. as well as There will be few notifications App will receive for specific events.

    I have also tried with sniffer and Master disconnect connection with slave. I won't be able to provide logs right now but thats what i have seen. It didn't provide any reason as no delegate method gets called when BLE gets disconnected.

    Is there any way to keep running my app in background forever ?

Reply
  • Hi @run_ar I need to get the location update so location update is on for background mode. as well as There will be few notifications App will receive for specific events.

    I have also tried with sniffer and Master disconnect connection with slave. I won't be able to provide logs right now but thats what i have seen. It didn't provide any reason as no delegate method gets called when BLE gets disconnected.

    Is there any way to keep running my app in background forever ?

Children
No Data
Related