iPhone 6s bluetooth low energy(BLE) spontaneous disconnection

We are developing an iOS application which interact with Bluetooth Low Energy(BLE) peripheral device to read required information. The application is working great when we run our application in iPhone 7(iOS 10/11)



We recently upgraded iPhone 6+ with iOS 11.2.5 and the BLE connection is not stable, it is spontaneously disconnecting. Also validated our application in iPhone 6+ with iOS 10.



When the disconnect occurs I get "The connection has timed out unexpectedly" message. Why the connection is not stable in iPhone 6+? Please let us know.



The same code is working great in other devices(iPhone 7, iPhone 7s with iOS 11.2.2) and the connection is stable more than an hour.

You should make sure that the peripheral device follows the guidelines for connection parameters.


Technical Q&A QA1931:

Using the correct Bluetooth LE Advertising and Connection Parameters for a stable connection

<https://developer.apple.com/library/prerelease/content/qa/qa1931/_index.html>

Hello there!



Bluetooth connected to a device, access to services and feature values, the subscription feature value is completed, the Bluetooth connection is disconnected, the following error occurs







Bluetooth One device lost connection: uuid: 59BA1B9A-8BFA-F7BB-B937-7A7E1216FD2E Error: Error Domain = CBErrorDomain Code = 7 "The specified device has disconnected from us." UserInfo = {NSLocalizedDescription = The specified device has disconnected from us.}







After this error occurs, the phone can search for the Bluetooth device, but no Bluetooth device can be linked anymore, and the Bluetooth device must be connected after restarting the phone each time (for IOS11 and above)











Urgently hope to answer, thank you!

iPhone 6s bluetooth low energy(BLE) spontaneous disconnection
 
 
Q