简体   繁体   中英

Android Customize Wifi Scan

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!!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM