Scanning for wifi signals only in 2.4Ghz band

后端 未结 4 568
南方客
南方客 2021-02-09 11:56

I need to scan for available Wi-Fi signals and their strengths. I\'m using wifiManager.startScan(); and asynchronous wifiManager.getScanResult();.

4条回答
  •  借酒劲吻你
    2021-02-09 12:09

    Supplicant config file provide option to explicitly declare range of channels where you want to scan for available network. If you device uses wpa_supplicant then in config file you can define scan frequency like below.

    scan_freq: List of frequencies to scan

    for more info look for above text in below mention link.

    Visit http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob_plain;f=wpa_supplicant/wpa_supplicant.conf .

提交回复
热议问题