What is the difference between active scan and passive scan?
Asked Answered
U

3

11

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

Unconscious answered 11/5, 2011 at 2:51 Comment(1)
@user I hope you don't mind that I changed the title, because that was really the questionHugely
H
8

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.

Hugely answered 11/5, 2011 at 3:29 Comment(1)
Thank you very much! I have got it: startScanActive is a active scan, and startScan is a passive scan.Unconscious
A
0

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

Acariasis answered 29/3, 2012 at 14:46 Comment(0)
G
0

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.

Gwenny answered 19/2, 2013 at 10:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.