cancel
Showing results for 
Search instead for 
Did you mean: 

B-L475E-IOT HTTP SERVER DOES NOT WORK

VGiot
Associate II

Hello all,

I recently bought the B-L475E-IOT running the following example. en.stm32cubel4\STM32Cube_FW_L4_V1.13.0\Projects\B-L475E-IOT01A\Applications\WiFi\WiFi_HTTP_Server, which concerns an http server. By testing it, I notice that the third time I want to turn the led on through the browser, then the page does not load.

I notice that in function "ES_WIFI_Status_t ES_WIFI_StartServerSingleConn(ES_WIFIObject_t *Obj, ES_WIFI_Conn_t *conn)", when the browser page does not load, the wifi module does not send the word "Accepted".

do

      {

       sprintf((char*)Obj->CmdData,"MR\r");

       ret = AT_ExecuteCommand(Obj, Obj->CmdData, Obj->CmdData); 

       if(ret == ES_WIFI_STATUS_OK)

       {  

        if((strstr((char *)Obj->CmdData, "[SOMA]")) && (strstr((char *)Obj->CmdData, "[EOMA]")))

        {

         if(strstr((char *)Obj->CmdData, "Accepted"))

         {

          ptr = strtok((char *)Obj->CmdData + 2, " ");

          ptr = strtok(NULL, " ");

          ptr = strtok(NULL, " "); 

          ptr = strtok(NULL, ":");       

          ParseIP((char *)ptr, conn->RemoteIP);      

          ret = ES_WIFI_STATUS_OK;

          break;

         }  

        }

       }

Is there a possibility of damaging the wifi module? Or, do you have any idea what might be wrong?

Τhanks in advance!

2 REPLIES 2
IGuer
Associate

I have the same issue

Cvega.11
Associate II

the same happens to me

manage to correct the problem ??