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

iOS 8 disconnect while service discovery

Hi,

I'm seeing a lot of this issue with iPad mini (1 gen), iOS 8.1.3.

Many times I start the bluetooth app, the connection just drops while doing service discovery, like:

2015-02-17 20:35:35.655 myApp[276:17102] Did discover peripheral myPeriph 2015-02-17 20:35:35.728 myApp[276:17102] Did connect peripheral myPeriph 2015-02-17 20:35:35.730 myApp[276:17102] Did start service discovery. 2015-02-17 20:35:36.095 myApp[276:17102] Did disconnect peripheral myPeriph

.. the app is loosely based on the nRF UART example. On the nrf51822 side there are no error messages whatsoever, the peripheral just happily keeps advertising and eventually timeouts. I'm using S110 v5.2.1 softdevice.

Only thing that helps is restart of the app - and sometimes I even have to reboot the iPad for getting any bluetooth connections at all..

Does anyone have any idea why this happens?

Parents
  • I'm not sure exactly what your issue is, but do double check to make sure your peripheral's desired connection parameters meet the Apple guidelines. I also find it best for stability on iOS to not update connection parameters until after Service Discovery is complete.

    That said, there is a laundry list of bugs on iOS 8.1.3. Even as far as the OS causes some phones (iPhone 6 & 6+) to transmit connection events outside the scheduled window, causing connections to drop. People have logged many Bugs with Apple over the current state of Bluetooth. Hopefully they address these issues soon.

Reply
  • I'm not sure exactly what your issue is, but do double check to make sure your peripheral's desired connection parameters meet the Apple guidelines. I also find it best for stability on iOS to not update connection parameters until after Service Discovery is complete.

    That said, there is a laundry list of bugs on iOS 8.1.3. Even as far as the OS causes some phones (iPhone 6 & 6+) to transmit connection events outside the scheduled window, causing connections to drop. People have logged many Bugs with Apple over the current state of Bluetooth. Hopefully they address these issues soon.

Children
No Data
Related