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
  • Keep us posted how this goes. I'd spoken to someone at Apple. Apparently there are a ton of implementations into iOS that are intended to save Battery Power (a big concern for smartphone users). Unfortunately for us Bluetooth designers, this seems to mean the iOS kills idle connections on a whim. All these implementations have also affected overall stability of the Apple Stack. It makes sense that OSX would be more stable as power consumption isn't as big a priority for the system.

    Hopefully they fix these bugs soon. My ultimate fear is that they are left on purpose so that only Apple specific peripherals can have true connection stability.

Reply
  • Keep us posted how this goes. I'd spoken to someone at Apple. Apparently there are a ton of implementations into iOS that are intended to save Battery Power (a big concern for smartphone users). Unfortunately for us Bluetooth designers, this seems to mean the iOS kills idle connections on a whim. All these implementations have also affected overall stability of the Apple Stack. It makes sense that OSX would be more stable as power consumption isn't as big a priority for the system.

    Hopefully they fix these bugs soon. My ultimate fear is that they are left on purpose so that only Apple specific peripherals can have true connection stability.

Children
No Data
Related