I need to findout the distance between Wifi routers and devices connected in that Wifi. The Wifi is an open wifi, so there can be n connection.
The distance have to be tracked in wifi router not the device. Is it possible to do the same? If so then how?
Can we write a program and set the custom router for the same, if so, how can we achieve it?
Thanks, Nikhil
If the router is linux-based, you may for example develop a simple C application periodically fetching iw dev <your_wlan_interface> station dump
command output. this command lists all devices currently connected to "your_wlan_interface" and contains signal strength information as well.
Converting signal strength to the distance is another task to solve and in my opinion it is quite clearly described in the link provided