Hello,
Is there a 2-device limit for CoreBluetooth on visionOS 2.1?
My app connects to 4 BLE peripherals on iOS but fails at the 3rd device on Vision Pro. The 3rd call to centralManager.connect() is successful and the peripheral enters .connecting state, but didConnect never fires and it stays in .connecting forever. No errors reported.
First 2 devices work perfectly. Same code on iOS connects all 4.
Has anyone else had this problem? Is there any documentation I can refer to that states something like this?
Environment: visionOS 2.1, CoreBluetooth, Apple Vision Pro. My BLE Peripherals are running on nRF52840.
Is there a 2-device limit for CoreBluetooth on visionOS 2.1?
Yes, that's the limit. Note that watchOS has the same limit.
Is there any documentation I can refer to that states something like this?
No. This is one of those technical details we've basically never documented. Note that I'm not aware of any documentation saying that 4 devices work on iOS either.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware