Android自定义Wifi扫描 [英] Android Customize Wifi Scan
问题描述
我对在特定时间间隔内仅扫描一组特定频率感兴趣(这与android API中的扫描间隔不同).是否有任何高级api
或
用户到内核空间的通信接口,机制(sysfs,iotctl,mmap等)(在有根设备中),可以让我指定在特定时间间隔内要扫描的频率集.如果我正确理解设备请求方是否提供此信息?如果有人能指出我正确的方向,将不胜感激.
提前谢谢!!
请参阅我的在您的设备上安装iw
,然后调用:
iw dev wlan0 scan freq 2417
但是,我不知道它如何与请求方/连接管理器交互.我们仅使用它来测量RSSI.
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.
这篇关于Android自定义Wifi扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!