Post topics, source code that relate to the Arduino Platform

User avatar
By brutzler
#6575 Hi,
I have an ESP8266-01 with a level-shifter bound to my Arduino Mega.

When I use it only as client, the system is working very fine.
I open a connection every 60 seconds
AT+CIPSTART=0,"TCP","192.168.1.2",80
AT+CIPSEND=0,162
> GET ............ HTTP/1.1 Host:192.168.1.2 connection: close


Thats working fine since a lot of days.

Now I wanted to add a webserver.
I start it in the void setup() with:
AT+CIPSERVER=1,8080

Since this, the system is not stable any more. Very often the ESP8266 gets stucked, and is only working, if i reboot the system.

Is it a problem to hold up the server-connection and open a client connection every 60 sec?