Skip to main content
abrous3d
Associate II
February 28, 2016
Question

SPWF01S WiFi Server Sockets

  • February 28, 2016
  • 2 replies
  • 2024 views
Posted on February 28, 2016 at 21:46

I've been introduced to SPWF01S WiFi  during Embedded World 2016 exhibition at Nuremberg a few days ago.

I have an application that requires 8 or more server sockets in AP mode. SSL sockets would be a plus.

The guy in the STM booth told my that it is feasible with the latest firmware but I cannot see this in the datasheets.

DO you know if is this feasible with SPWF01S module or any other alternative?  

#spwf01s-wifi #sockets
    This topic has been closed for replies.

    2 replies

    Gerardo GALLUCCI
    ST Employee
    March 1, 2016
    Posted on March 01, 2016 at 16:53

    Ciao Angelo,

    latest firmware release does not affect the number of socket server that you can open on SPWF01S.

    There is one instance of socket server, allowing access to one client; on the other side, there are 8 instances of socket client (one of them can be secured by TLS/SSL).

    Moreover, miniAP allows association up to 5 clients (stations).

    vrushali kokitkar
    Visitor II
    December 15, 2017
    Posted on December 15, 2017 at 07:18

    Hello,

              I am using x-nucleo-idw01m1 development board.I want to send data on tcp socket server ,my module is in station mode,baud rate is 115200,for that i am sending following commands via uart to spwf01sa wifi module-

    AT+S.SOCKD=port<CR>

    AT+S.SOCKON=host name,port,t,ind<CR>

    but after sending AT+S.SOCKON command got error fail to connect...why is it?can you tell me the steps for the  tcp connection or commands?what i am doing wrong?

    Thanks

    vrushali

    Gerardo GALLUCCI
    ST Employee
    December 15, 2017
    Posted on December 15, 2017 at 15:22

    - SOCKD is needed to open a server, waiting for a remote client to connect

    - SOCKON is needed to connect a remote server

    If you have to connect a remote server, only need SOCKON command

    vrushali kokitkar
    Visitor II
    December 16, 2017
    Posted on December 16, 2017 at 07:05

    Gerardo Gallucci,

          

                   First of all thanks for the reply.my configurations setting as follow as:

    AT+S.SCFG=wifi_priv_mode,2<CR>

    AT+S.SCFG=wifi_mode,1<CR>

                        But after sending AT+S.SOCKON=host name,port,t,ind<CR> i am getting same error '  failed to connect'...can you send me a sample code?or any tutorial regarding with this....

       

    Thanks

    vrushali