-->
Page 1 of 2

"max connection!" message ??

PostPosted: Mon Dec 15, 2014 5:34 pm
by RogerClark
Hi,

Does anyone know what causes the "max connection!" message to be output to the serial port ?

I had an aborted upload of the IoT demo and when I went back to the esphttpd software, I'm no longer able to connect when the device is set to an AP as I get the message

"max connection!" appearing over the serial comms.

I suspect that my failed upload of IoT has written junk into some locations which the esphpptd has not ovewritten e.g. config settings that the SDK uses

I'm going to try loading the AT bin and see if I can reset and clear this, but it would be better if I knew what had caused this and whether there is a better way, eg. erase all the flash ? using the esptool-py

???

Edit. Loading the AT bin, and doing AT+RST seems to have fixed this.

However I think it would useful if we knew why this happens, as having to install and run the AT bin just to reset memory isn't idea ;-)


Thanks

Re: "max connection!" message ??

PostPosted: Mon Dec 15, 2014 6:12 pm
by pvvx
To reset and clear this - insert code espconn_tcp_set_max_con(5);

Re: "max connection!" message ??

PostPosted: Tue Dec 16, 2014 3:24 pm
by RogerClark
Thank you

I will add that code.

Re: "max connection!" message ??

PostPosted: Wed Dec 17, 2014 7:04 am
by chandan2002x
pvvx wrote:To reset and clear this - insert code espconn_tcp_set_max_con(5);



Thanks, pvvx. I was loosing hope to dig with "at_linkMax". You gave the right link.