Here we can all chat about fixing the AT+ command structure and the associated responses.

User avatar
By eoneill
#35609 Hi,
I'm trying to write code for the ESP8266 to constantly send data to a server. Right now, I can send data the first time, however every time after that fails. Currently, I am just using a terminal to send my commands. My order of commands are:
Code: Select allAT+CWJAP="CalVisitor",""
OK
AT+CIPMUX=1
OK
AT+CIPSTART=4,"TCP","ip",80
OK
Linked
AT+CIPSEND=4,44> GET /update?key=API_KEY&field1=60SEND OK

+IPD,4,2:24
OK

AT+CIPCLOSEMUX=1
AT+CIPSTART=4,"TCP","io",80ALREAY CONNECT
..AT
OK
AT+CIPSEND=4,44> GET /update?key=API_KEY&field1=60
busy s...
ATbusy s...
ATbusy s..


I have a feeling the AT+CIPCLOSE isn't functioning properly, as I never receive an OK response. Does anyone know what the issue might be?

I have also tried AT+CIPCLOSE=5 to close all connections, which also hangs and doesn't send a response. If i keep adding commands after that I get the busy s... response again.

Any help would be greatly appreciated!