How to calculate the distance between two iOS devices using a wireless connection.
I figure out we can calculate using BLE
, using RSSI
number.
But the range of the device varies and the device placed in the room far away cannot be discovered.
My requirement is to calculate the distance device present in the room.
I have looked into the Multi-peer connectivity framework, but there is no such thing as the RSSI
number.
Thanks in advance.
You can check the new NearbyInteraction https://www.reddit.com/r/iOSProgramming/comments/hfq5w8/nearbyinteraction_guide_and_github_repository/?utm_source=share&utm_medium=web2x&context=3
but will works on iphone 11 and above , bcz thes devices have the U1 chip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With