Chat freely about anything...

User avatar
By Dhruv Acharya
#55996 I am using AT Commands for ESP8266. I want:
  1. TCP Server at 80
  2. TCP Server at 33666
  3. UDP at 506
I am using this:
Code: Select allAT+CIPMUX=1
OK
AT+CIPSERVER=1,33666
no change
OK
AT+CIPSTART=4,"UDP","192.168.0.5",21,506,2
4,CONNECT
OK

Now If I check with clients, I can send and receive data on TCP port 80 and UDP port 506 successfully, but no TCP server is created for 33666.

Does ESP8266 only allow one TCP server for AT Commands? If yes, how to bypass it?
Last edited by Dhruv Acharya on Thu Oct 06, 2016 11:18 am, edited 1 time in total.
User avatar
By Dhruv Acharya
#56032 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: Select allAT+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


I think I found my answer here as AT Command can not support more than one TCP server. More reference here