问题
I have an android device which is configured as a wireless hotspot. I want to find out how I can listen to "Probe Requests" from devices using Android APIs.
I know this can be done by using various tools but only when you have root access. I believe we should also be able to listen to Probe Requests without the root access. This is because, when we set the phone in hotspot mode it is able to connect to other devices without being in root mode. In order to make a connection, the hotspot device must be processing Probe Requests that it receives from other devices.
I have tried looking in /proc/arp/net file but it only shows information about devices which are connected to the hotspot.
If it's not possible without the root access then I would like to know how an hotspot enabled device is able to accept connections without being in root mode?
来源:https://stackoverflow.com/questions/31968480/listen-to-probe-requests-from-wi-fi-devices