how to find wifi signal direction of another devic

2019-02-22 06:28发布

问题:

I am using my android phone as Access Point. Now I want to find the distance and direction of the wifi devices connected with my phone.

Please help me through suitable example and code.

Thanks in advance.

回答1:

I downloaded Wifi Radar that you mentioned and tried it. There's an important step there - it asks you to rotate on the spot for a bit while holding the device to your body.

So my guess is that it uses the internal compass to figure out which direction you're pointing to, and then measures the signal. When the signal gets stronger, it figures that you're pointing toward the AP.

Since the app asks you to hold your device to your body, it's trying to use you as a shield, so if you're facing away from the AP, your body will weaken the signal.