CoreBluetooth: peripheral hardware won't connect anymore at some point (iOS 6 beta 4)
CoreBluetooth: peripheral hardware won't connect anymore at some point (iOS 6 beta 4)
- Subject: CoreBluetooth: peripheral hardware won't connect anymore at some point (iOS 6 beta 4)
- From: Florian Schulz <email@hidden>
- Date: Wed, 12 Sep 2012 22:15:40 +0200
Hi,
we are developing an app that communicates with peripheral hardware (TI CC2540).
On iOS 6 we ran into the following problem:
Usually the peripheral connects without any issues, but at some point the peripheral won't connect anymore on iOS 6 (beta 4). After connectPeripheral: is called on the centralManager, no didConnect: or didFailToConnect: callback comes in and the advertisement continues. In the air-trace it looks like there is no connection attempt by the iOS device. If this has happened once, the peripheral won't connect anymore. Restarting the peripheral or the app doesn't help. Turning Bluetooth on and off in the Settings app doesn't help either. What did make the peripheral connect again was changing the Bluetooth address on the peripheral. Rebooting the iOS device seemed to solve the situation as well. The problem is hard to reproduce - usually the peripheral connects but at some yet undefined point it stops working. On iOS 5.1.1 the problem doesn't seem to occur at all. I've double checked that the peripheral is retained properly and that the peripheral instance doesn't change between the initial discovery and the following discoveries. The delegates are set correctly as well.
Can anybody point me at where to further investigate this issue? Could it be firmware related? Could it be cause by messed up connection parameters? My guess is that it's somehow related to caching in OS 6 (the peripheral is not paired btw), or maybe something like a connection that isn't closed properly on the iOS side.
Any help would be highly appreciated.
Best regards,
Florian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden