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.