The use of the ESP8266 in the world of IoT

User avatar
By Mainul
#77689 Dear mutthunaveen,

I am struggling to solve the same but my ESP12 is not working as yours did.I am using "Termite 3.4" to send AT commands. I get the following response.

AT+CIPSTART="TCP","*****.net",80

CONNECT

OK
AT+CIPSEND=54

OK
> GET /*****.net/setvalue.php HTTP/1.1

busy s...

Recv 54 bytes

SEND OK
CLOSED

I have tried increasing numbers after AT+CIPSEND= **, but with no success. I would really appreciate any help in this regard.

Mainul
User avatar
By shilpa dandwani
#79311 don't use serial monitor to resolve this issue. please use a arduino code .i have tried a get command and its work perfectly
you can use thingspeak.com to generate API key or you can use your own web API key.
String hostt = "GET /api/Dataaccess/Data?key=ABC123";
hostt += "\r\n";
hostt += "Host:www.ABC.com";
hostt += "\r\n\r\n\r\n\r\n\r\n";
comm.print(command); // send the read character to the comm

while (comm.available())
{

// The esp has data so display its output to the serial window
char c = comm.read(); // read the next character.
response += c;
//Serial.print(response);
}
visit https://www.youtube.com/watch?v=4vKxGHGYOtI
BEST OF LUCK
User avatar
By UgurKarakas
#83044 Hi,
I am dealing with the same case. I am trying to send my datas to server via AT commands and that I can manage this but when I get back a response from server as string(I send back to esp8266, "hello or 198871987") for just testing, I am not able to see data I send from the server side. If anyone wants to see the codes, I can share it.

Any suggestion will be so appreciated. Many thanks

The results from serial monitor I have taken is like that ;

mode OK..
mode OK..
Connected!
Cannot connect to wifi
TCP connection ready
Sending..
Packet sent
Connection Closed..
RecievedDATA:785:HTTP/1.0 200 OK
Cootent-Type: text/plain; ,+⸮͕⸮⸮
Sending..
Packet sent
Connection Closed..
RecievedDATA:785:HTTP/0.0 200 OK
Content-Type9 text/plaio; charset
TCP connection ready
Sending..
Packet sent
Connection Closed..
RecievedDATA:785:HTTP/1.0 200 OK
Content-Type: tdxt/plain; charset
TCP connection ready
Connection Closed..
Connection Closed..
Connection Closed..
Connection Closed..
RecievedDATA:830:HTTP/1.1
TCP connection ready
Sending..
Packet sent
Connection Closed..
RecievedDATA:785:HTTP/1.0 200 OK
Content-Type: tdxt/plain; charset
TCP connection ready
Sending..
Packet sent
Connection Closed..
RecievedDATA:785;HTTP/1.0 200 OK
Conteot-Type: text/plain; chasset
Connection Closed..