What is the difference between active scan and passive scan?

我是研究僧i 提交于 2019-12-05 15:16:51

问题


What is the difference between mWifiManager.startScanActive() and mWifiManager.startScan().
What is the difference between active scan and passive scan?


回答1:


Passive scanning listens to beacons sent by the access points. That means waiting for the beacon to be sent (usually a few seconds).

An active scanning will emit probes to those APs immediately.




回答2:


please note that an active scan will consume more energy and as "ordinary" wifi access points broadcast their beacons several times per second, an active scan is rarely needed. e.g. requesting a list of wifi networks in reach takes approx 0.7 seconds to finish. so this should be sufficient...




回答3:


02/19/2013 jadiyappa :

Active scanning is required when enabled the "SSID Hide" in AP. Passive scanning is always waits for the beacon frames from AP.



来源:https://stackoverflow.com/questions/5958715/what-is-the-difference-between-active-scan-and-passive-scan

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