don't use the esp8266 with at commands ...
program it directly with the arduino IDE, it will be easier, faster, and more reliable
and it will behave as an arduino with integrated wifi module.
don't use the esp8266 with at commands ...
program it directly with the arduino IDE, it will be easier, faster, and more reliable
and it will behave as an arduino with integrated wifi module.
Thanks for the great advice. I agree with you completely. But I just wanted to check if we can generate two TCP server in AT command or not. I can not find that reference about that.
I remember that the original chip does not allow more than one tcp connection (but can't tell you where I read this... as I don't recall it)
and I was pretty surprised that the arduino system allowed the esp8266 to make more than one connection.
also the AT command system is pretty limited.
I already have connected esp8266 as 1 TCP server, 1 TCP Client and 1 UDP port. In this configuration TCP server can serve upto 3 active TCP client. Now I want is to have 2 TCP server and 1 UDP port, but it gives me this reply. Please also note that I have made mistake when posting the code here in forum here I am posting whole code:
Code:
AT+CIPMUX=1
OK
AT+CIPSERVER=1,80
OK
AT+CIPSERVER=1,33666
no change
OK
AT+CIPSTART=4,"UDP","192.168.0.5",21,506,2
4,CONNECT
OK
- - - Updated - - -
Hey again I think I found my answer: AT Command can not support two TCP server at the same time. More reference here: