Code: Untitled.txt Select all
Hello all,
i am new to ESPRESSIF Wifi module. I am using ESP-WROOM-02 module with stm32 microcontroller using AT commands in my project.
I have uploaded lastest AT firmware version ESP8266-AT-V2.2.1.0\factory\factory_WROOM-02.bin to esp module.
I have developed a web server application in stm32. Esp module is configured as softAP.
STM32 reads web ui content (.html, .css, .js files) from sd card and send to esp module when requested by the connected station.
all works fine but some times it produces error.
error in sending response to station.
AT+CIPSEND returns ERROR and also not able to close that particular link i.e. AT+CIPCLOSE returns ERROR.
means no further request comes to that link id.
[b]for example requests are received at link 0-4 and response are sent to all request respective their link id successfully.
but sometimes while sending response to a link id lets say 3 AT-CIPSEND=3,len returns error and if i try to close link 3 sometimes it closes and returns OK and sometimes it returns ERROR.
if AT+CIPCLOSE returns error then new request is not received at link 3 until web page is reloaded at station.
link 3 is able to receive new request only after web page reload at station.
please guide me to solve this problem[/b]