cancel
Showing results for 
Search instead for 
Did you mean: 

Disable automatic wi-fi connection on SPWF04

DUrbano
Associate III
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
3 REPLIES 3
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
Senior II
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

Posted on February 06, 2018 at 17:31

Thanks a lot Elio for your 

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