cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF01Sxxx server socket ???

rhoumasocrafi88
Associate II
Posted on May 21, 2014 at 11:31

hi,

Is it possible for a PC or Host Open a socket to connect the SPWFSxxx Wifi module.And how can I configure this module remotely via html page for example.

#spwf01x #socket-server
6 REPLIES 6
Posted on May 21, 2014 at 12:34

Hi,

SPWF module offers (by default) a running webserver, port 80. If you need to configure via HTTP the module (network/password/mode/auth) you can use the ''firstset.html'' integrated webpage. Note that, when  the module is into miniAP mode, this webpage is automatically provided as homepage (captiveportal.net).

About socket server, since FW3.0 on, you can turn on the integrated socket server using the ''AT+S.SOCKD'' command. Which is your FW Release? Run ''AT+S.STS'' command, line ''version''...

j

rhoumasocrafi88
Associate II
Posted on May 21, 2014 at 13:19

hi, 

thank you for your reply, 

for the ''firstset.htm'' I can not find it in the list of pages (command AT + S.FSL returns' / status.shtml ',' / cgi_demo.html ',' / power_demo.shtml ',' / config . shtml ',' / index.html ',' / 404.html '). This page ''captiveportal.net'' is not found. 

I run the command ''AT + S.STS'': version = 1203-121218_01-50-g511fab4.

thank you.

Posted on May 21, 2014 at 14:20

You cannot find firstset page since you are using a very very old release. 1203-121218_01-50-g511fab is more than 1 years old.

Can you update the module? You can use the OTA capability (perform an AT+S.FWUPDATE command) or via UART.

j

rhoumasocrafi88
Associate II
Posted on May 21, 2014 at 15:05

OK, 

Thank you for this information.yes I can update it with the command ''AT + S.FWUPDATE'' but this command requires two arguments: 

<hostname> and <path&queryopts> 

Please have you a link to download the last version.

Posted on May 21, 2014 at 15:13

Please contact your ST/Distributor contact.

He'll provide you the last FW Release.

j

rhoumasocrafi88
Associate II
Posted on May 21, 2014 at 15:17

thank you very much for your help.