I'm using an ESP-12 and AT commands 25 and I am finding that when device is set as a TCP server it reconnects immediately after a timeout disconnection.
Here's a log
Code: Select all
AT+CWMODE_CUR=3
OK
AT+CWSAP_CUR="ESP8266","",5,0
OK
AT+CIFSR
+CIFSR:APIP,"142.255.49.94"
+CIFSR:APMAC,"c5:7c:fe:06:ff:ff"
+CIFSR:STAIP,"0.0.0.0"
+CIFSR:STAMAC,"00:56:52:04:32:20"
OK
AT+CIPMUX=1
OK
AT+CIPSERVER=1,1001
OK
0,CONNECT
+IPD,0,1:s
+IPD,0,1:s
+IPD,0,1:s
+IPD,0,1:s
+IPD,0,1:s0,CLOSED
0,CONNECT
0,CLOSED
0,CONNECT
0,CLOSED
0,CONNECT
0,CLOSED
0,CONNECT
The client (als an ESP-12) connected sent the noted 's' characters and then just sat there sending nothing further. The port 'closed' and immediately reconnected every three minutes (the 180 second default). Shouldn't it have stayed closed?
Thanks.