cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF04Sx - STA - Scan Complete:00

yoann LBY
Senior
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

1 ACCEPTED SOLUTION

Accepted Solutions
Elio Cometti
Senior II
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

View solution in original post

1 REPLY 1
Elio Cometti
Senior II
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