Android Customize Wifi Scan

不打扰是莪最后的温柔 提交于 2019-12-10 18:13:01

问题


I am interested in scanning only a particular set of frequencies for a particular time interval (this is different from scanning interval in android api). Is there any high level api

or

user to kernel space communication interfaces, mechanisms (sysfs,iotctl,mmap etc.) (in a rooted device) that can allow me to specify the set of frequencies to be scanned for a particular interval of time. If I understand correctly the device supplicant carries this information?

Would very much appreciate if anyone can point me in right direction.

Thanks in advance!!


回答1:


See my answer on android.sx. Basically, install iw on your device and then call:

iw dev wlan0 scan freq 2417

However, I do not know how this interacts with the supplicant/connection manager. We use it to measure RSSI only.



来源:https://stackoverflow.com/questions/10680867/android-customize-wifi-scan

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!