Skip to main content
yoann LBY
Senior
April 4, 2018
Solved

SPWF04Sx - STA - Scan Complete:00

  • April 4, 2018
  • 1 reply
  • 850 views
Posted on April 04, 2018 at 11:59

hi,

wifi module SPWF04Sx is configured to STA mode and try to connect to ssid.

when ssid is off, wifi module runs (without received cmd AT) and scan:

+WIND:21:WiFi Scanning

+WIND:35:WiFi Scan Complete:00

is it possible to stop/manage Wifi scanning?

WiFi Scanning is it link to a setup variable? (wifi_region, ip_allow_port_scans)

is it possible to give more details about scan?

thks

Yoann

    This topic has been closed for replies.
    Best answer by Elio Cometti
    Posted on April 04, 2018 at 14:52

    Hello Yoann,

    when the SPWF04 is configured as STA, it performs a periodic scan to look for the configured SSID. If that SSID is not found or suddenly disappear then the SPWF04 will keep scanning until the SSID is found again and all network features are still available.

    The periodic scan can be disabled by shutting down the wifi stack (AT+S.WIFI=0) or by setting the SPWF04 in Idle mode (wifi_mode=0). However, some network operations (like AT+S.SCAN) are available when the SPWF04 is in Idle mode, whereas all network features are disabled after AT+S.WIFI=0.

    Regards,

    Elio

    1 reply

    Elio Cometti
    Visitor II
    April 4, 2018
    Posted on April 04, 2018 at 14:52

    Hello Yoann,

    when the SPWF04 is configured as STA, it performs a periodic scan to look for the configured SSID. If that SSID is not found or suddenly disappear then the SPWF04 will keep scanning until the SSID is found again and all network features are still available.

    The periodic scan can be disabled by shutting down the wifi stack (AT+S.WIFI=0) or by setting the SPWF04 in Idle mode (wifi_mode=0). However, some network operations (like AT+S.SCAN) are available when the SPWF04 is in Idle mode, whereas all network features are disabled after AT+S.WIFI=0.

    Regards,

    Elio