The infinite connection callback observed for some Bluetooth devices

Hi guys,

I observed the infinite connection callback(inSelector) for some Bluetooth devices (such as an iPhone SE or Mac Mini) even when I powered off them. However, the issue is not reproducible easily.

  • (IOBluetoothUserNotification *)registerForConnectNotifications:(id)observer selector:(SEL)inSelector

Looks like there are many -[CBManager xpcConnectionDidReceiveMsg:args:] calls when the issue occurs based on the sample, so it might be caused by the XPC connection with bluetoothd?

Has anyone else experienced this issue, or any workaround for it? such as should I restart the bluetoothd?

  • Btw, The issue can be stopped after restarting the bluetoothd since the XPC connection has been reset.

Add a Comment