I try to use CoreBluetooth api on my cus app on vision os. I could connect to two devices on my app, but couldn’t with 3 or more device. Despite connecting the third device using this api, the function does not return anything. When two devices are connected on bluetooth setting, I see the same situation on my custom app. However, I could connect 3 or more devices on the default blu setting. Is there anyone who has similar problem?
CoreBluetooth on vision os cannot connect 3 or more devices.
The number of devices an app can connect to simultaneously via CoreBluetooth is not limited. The number is different based on device type. model, iOS version and the current state of the device. The numbers are not published, and can change over time.
Our guidance is to dynamically detect when you cannot add more connections and handle the situation gracefully.
Argun Tekant / DTS Engineer / Core Technologies
Thank you.
I tested a same CoreBluetooth code to connect to 3 or more devices on iPhone 15 Pro ( iOS 18.5) and Vision Pro (vision OS 2.5). It worked on iPhone but does not on Vision Pro. I suppose there is an issue or limitation of bluetooth connection on background or hardware.
Does anyone have or resolve the same problem? And how should I detect when I cannot add connection, and successfully reconnect them?
I am only able to connect to one external device at a time in my visionOS app that is built using Unity. I keep getting this error code every time I try to connect to a second device simulataneously:
CBErrorDomain Code=11 - Maximum connections has been reached.
In reality, I've only connected to one device and my use case requires connecting to two devices. Please advise.