I'd like to request an AT command to limit TCP server to 1 connection.
The reason for this is in an arduino environment with limited memory, it is impossible to handle multiple connections simultaneously due to memory constraint.
Imagine there is only one pipe for incoming data, the we get +IPD for 0, 1,2,3 each with say 1k. If arduino program is currently servicing connection 0, it will have to copy and save the data for connections 1,2,3 in order to continue and complete processing for connection 0. esp can hold on to socket until the current open socket is closed, then generate the 1,CONNECT. Then generate 2 and 3 connect after each one is closed.
What does the espconn_tcp_set_max_con_allow and espconn_tcp_getMax_con_allow do? will it deny second connection to server? or it will still accept it and just not send a 1,CONNECT to uart until 0 is closeD?
Thanks.
request new AT command to limit TCP server to 1 connection
Re: request new AT command to limit TCP server to 1 connecti
Postby doughboy » Wed Mar 18, 2015 2:40 am
or instead of a new AT command, to allow TCP server with CIPMUX=0, which makes it only work on 1 connection at a time.
currently, tcp server mode only works if CIPMUX=1.
currently, tcp server mode only works if CIPMUX=1.
Re: request new AT command to limit TCP server to 1 connecti
Postby phil31 » Thu Mar 19, 2015 9:41 pm
hi,
i agree and i already request this feature 1 or 2 months ago ..
but it seem that AT firmware is not a priority to Espressif team ..
regards
i agree and i already request this feature 1 or 2 months ago ..
but it seem that AT firmware is not a priority to Espressif team ..
regards
Re: request new AT command to limit TCP server to 1 connecti
Postby AlOdin » Mon Mar 23, 2015 8:19 pm
doughboy wrote:to allow TCP server with CIPMUX=0, which makes it only work on 1 connection at a time.
i need this feature too...
Regards, Alexander
Who is online
Users browsing this forum: No registered users and 2 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.