Scanning for wifi signals only in 2.4Ghz band
问题 I need to scan for available Wi-Fi signals and their strengths. I'm using wifiManager.startScan(); and asynchronous wifiManager.getScanResult(); . On devices without support of 5GHz band it takes about 500ms to get the results, on devices with 5GHz band support it takes about 2s, and that is too much for me. I guess the 1.5s delay is in searching the whole 5GHz band. Is there any way I could tell the device to scan only in the 2.4GHz band, or any other way I could get the results faster (for