Is it possible to connect to more than one UWB source at a time?

Hi,

I've been trying to make an app that can connect to more than one UWB source at a time.

I've three iPhone 12 Pro and I am using NearbyInteraction to retrieve the distance and direction from one iPhone to the other.

I've used MultipeerConnectivity to share the discovery tokens from all devices.

My code at the moment can perfectly handle two devices sharing their distance and direction, but at soon as I connect the third phone, all sharing stops.

I am wondering if I am doing something wrong or if there is a limitation on Apple side to prevent devices from retrieving the distance and direction from more than one source at a time.

I am not giving too much detail about my implementation yet, but don't hesitate to ask questions about it.

Thanks in advance for your help.

Answered by ForumsContributor in
Accepted Answer

Bringing some updates to my own post.

I got in touch with an engineer at Apple via Technical Support.

It's apparently possible to connect to more than one UWB source at a time, by creating one NISession per discovery token.

According to this engineer, at the moment an iPhone 12 Pro like the one I use, should be able to handle around three connections at the same time, but there is no limitation and that number might increase in the future alongside hardware improvements.

Is it possible to connect to more than one UWB source at a time?
 
 
Q