Occasional error on AT+CIPSTARTEX
Posted: Fri Feb 25, 2022 8:06 pm
I'm trying to connect to a local TCP server (run via netcat), and I am getting spotty connections. Sometimes I am able to connect instantly with:
And other times I get:
from the same AT call. Both scenarios are using the same TCP netcat server. I am using an ESP32-C3, any suggestions?
Here is a larger section of the output message:
Code: Select all
AT+CIPSTARTEX="TCP","192.168.86.112",1000,0
Code: Select all
ERROR
Here is a larger section of the output message:
Code: Select all
WIFI CONNECTED
WIFI GOT IP
OK
AT+CWDHCP?
+CWDHCP:3
OK
AT+CIPSTA?
+CIPSTA:ip:"192.168.86.116"
+CIPSTA:gateway:"192.168.86.1"
+CIPSTA:netmask:"255.255.255.0"
OK
AT+CIPSTAMAC?
+CIPSTAMAC:"a0:76:4e:66:17:b8"
OK
AT+CIPSTATE?
OK
AT+CIPSTARTEX="TCP","192.168.86.112",1000,0