This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ios app getting disconnected after 1 minute

Hi,

I am using ios app to connect nordic BLE module. I am getting continuous disconnection after 1 minute on app . Please let me know how to configure for continuous data transfer. My application is communication between nordic BLE module (nRF51)and ios app which is developed by us. I am trying to send data from nordic BLE module to ios app.I am sending data at 1 minute interval to ios app.When I will connect to app I am sending data after that I will wait for 1 minute and send data. So in app I am getting only one reading and the device is getting disconnected from ios app. So what configuration is making app disconnection and how can I make it continuous connection.

  • How should we know what the problem is? Could you give us more information?

  • My application is communication between nordic BLE module (nRF51)and ios app which is developed by us. I am trying to send data from nordic BLE module to ios app.I am sending data at 1 minute interval to ios app.When I will connect to app I am sending data after that I will wait for 1 minute and send data. So in app I am getting only one reading and the device is getting disconnected from ios app. So what configuration is making app disconnection and how can I make it continuous connection.

  • No idea - not enough information - generally things stay connected pretty much indefinitely so either your iOS app is disconnecting or you have some code in the nordic app which is disconnecting or you have some other kind of issue which is causing the link to time out.

    What's the disconnection reason, you get that on the disconnect callback from the Nordic stack. Try a sniffer trace to see what's causing the disconnection.

  • What values need to set for APP_ADV_INTERVAL, APP_ADV_TIMEOUT_IN_SECONDS, MIN_CONN_INTERVAL, MAX_CONN_INTERVAL, SLAVE_LATENCY CONN_SUP_TIMEOUT for nordic to ios app connection

  • There are no fixed values - those defines exist so you can configure all the aspects of the connection for high speed or low power, fast or slow advertising resolution. None of them affect device disconnection in normal operation where a connection, once established, will stay up.

Related