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

Automatically disconnection iOS

I'm using the NUS service for a sensor design. It was working fine for me. I don't know what is changed, but I experiences the next problem.

When I connect my sensor using an iOS app (own developed app, nRF Toolbox app or nRF UART app) the connection will be disconnected after about 95 seconds. When I connect it to the Master Control Panel on my windows PC or with a BLE Central device it will not disconnect automatically.

The sensor doesn't require bonding.

I don't know why it is disconnecting, but it looks it has something to do with iOS. By the way the iOS version 9.2.1.

Any idea what is wrong or how to solve it?

Thanks in advance.

UPDATE:

A Wireshark logging of the connection between the sensor and the iPod Touch 6th gen. ble_air_logging_2.pcapng

Parents Reply Children
  • Glad to hear you solved the problem. iOS has strict rules for what connection parameter requests it will accept. You can see these in Apples Bluetooth design guidelines. Note that you can choose whether or not to disconnect in your application.

  • I ran into the same problem; connection is terminated after 95sec. by peripheral (BL652, running NUS) with LL_TERMINATION_IND and error code 0x3b (unacceptable connection parameters). Connection paramters came from the central, a Garmin Edge 1050 GPS device, enforcing these values by LL_CONNECTION_UPDATE_IND to interval 90ms, latency 0, supervision timeout 4000msec.

    What can i do to fix this) It is not possible to change BLE parameters of central (Garmin Device), i can only adapt the BLE stack of the peripheral, build with Nordic SDK.

Related