iOS CoreBluetooth connection issues

Hi there,

I am seeing some issues where occasionally my BLE device gets into a state where it cannot be connected to from my iPad via the CBCentralManager.connect API (or even via the BT menu).

I've installed the BT debugging profile, and I noticed these lines in the logging which look suspicious:

default	08:53:46.631886+0100	bluetoothd	Adding device to connecting list
default	08:53:46.632018+0100	bluetoothd	Warning: LeConnectionDenyList: Device 5D02D48B-C99C-A161-A789-DE186C20D7A1 is currently blocked, ignoring request
error	08:53:46.632139+0100	bluetoothd	LeConnectionDenyList: Failed to add device "5D02D48B-C99C-A161-A789-DE186C20D7A1" to filter accept list because is currently blocked

I'm not sure, but I suspect this explains why my device isn't connecting. What would cause my device to get blocked like this?

Note, connecting to other BLE devices works fine. Also, rebooting the iPad also allows me to connect again, but that is only workaround I've found.

Thanks! Matt.

iOS CoreBluetooth connection issues
 
 
Q