0

I am using PeerFinder.FindAllPeersAsync() in my WP8 application to discover devices running the same application by the Bluetooth interface.

The function has to return the list of peers which are in range. However, it also returns the devices which have recently become peered with the application but are not in range anymore. Even by uninstalling and installing the application, those old devices are returned by FindAllPeersAsync() function.

Is there any way to prevent this thing to happen?

1 Answer 1

0

It seems that FindAllPeersAsync() method always returns the devices which were paired before. I solved this by removing paired devices in Bluetooth settings.

But as good solution, your app should do something like "online" request to determine if peer is really present in your range.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.