What is the difference between active scan and pas

2019-04-05 04:37发布

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

3条回答
Anthone
2楼-- · 2019-04-05 05:04

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.

查看更多
聊天终结者
3楼-- · 2019-04-05 05:17

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.

查看更多
做自己的国王
4楼-- · 2019-04-05 05:23

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

查看更多
登录 后发表回答