ESP32 AT command TCP server with multiple ports

danmcc22
Posts: 2
Joined: Sun Sep 16, 2018 3:47 am

ESP32 AT command TCP server with multiple ports

Postby danmcc22 » Sun Sep 16, 2018 4:34 am

I'm trying to figure out how to listen on more than one port at a time with the AT command TCP server. Or if that is not possible, how can I have more than one server running at a time (although I'm pretty sure that can't be done).

I can start a server "AT+CIPSERVER=1,444" for example and multiple clients can connect OK on port 444. If I want to "add" another port to listen on, it does not work using simply "AT+CIPSERVER=1,555" for example. Unless I close down the currently running server (ie. AT+CIPSERVER=0) and start again with ""AT+CIPSERVER=1,555".

Is there a way of doing this with the off-the shelf AT environment? Any thoughts would be appreciated. Thanx in advance!

Who is online

Users browsing this forum: fly135 and 6 guests