Skip to main content
DUrbano
Associate III
Jan 31, 2018 8:37 AM UTC
Question

Disable automatic wi-fi connection on SPWF04

Posted on January 31, 2018 at 09:37

Hi to all,

I'm working on SPWF04 wifi module and, even I read all at possible commands, I don't find how to disable the automatic wifi connection to an access point on start-up. Please, could anyone suggest me ho do it ?

Regards

Davide Urbano

#wifi-usart #spwf04
This topic has been closed for replies.

3 replies

Gerardo GALLUCCI
ST Employee
Feb 1, 2018 3:03 PM UTC
Posted on February 01, 2018 at 16:03

When module is not in IDLE mode, it automatically tries to associate.

You can disable wifi (AT+S.WIFI=0) and enable again when needed (AT+S.WIFI=1)

Elio Cometti
Visitor II
Feb 6, 2018 9:56 AM UTC
Posted on February 06, 2018 at 10:56

The WIFI=0 or WIFI=1 state can be saved too.

That is:

AT+S.WIFI=0

+WIND:49:....

+WIND:38:....

AT+S.SCFG=wifi_....

....

AT+S.WCFG  <-- save config to flash

AT+S.RESET

(the module will boot without activating the WIFI)

AT+S.WIFI=1 <-- manually activate the WIFI and associate to AP

DUrbano
DUrbanoAuthor
Associate III
Feb 6, 2018 5:31 PM UTC
Posted on February 06, 2018 at 17:31

Thanks a lot Elio for your 

exhaustive answers; I resolved a really big problem...thanks again...