6 years, 3 months ago.

HTML web server response restricted

Hi,

Can you help? i am using DISCO_L475VG_IOT01-wifi_http_server example.

My response is limited to 1515 and if i go any higher STM32L4 will crash. ret = WIFI_SendData(0, (uint8_t *)http, 1515, &SentDataLength, WIFI_WRITE_TIMEOUT);

Thanks!

1 Answer

6 years, 3 months ago.

Where do you allocate the http buffer? Is it big enough? The default web server example uses 1024 byte buffers, so you'd need to increase those.

Accepted Answer

Hi, I have change it to 3072 so it should be ok. and it is on beginning and static.

posted by Joni Patana 19 Dec 2017

I have also try to change ES_WIFI_DATA_SIZE on Wifi files and also direcly CMD size but that one is not helping ether.

posted by Joni Patana 19 Dec 2017