Not able to post data on website

Posts: 1
Joined: Sat Jul 01, 2017 1:24 pm

Not able to post data on website

Postby Rakesh » Sat Jul 01, 2017 2:16 pm

Hello all,

I am working on ESP8266.
Firmware version AI-v0.9.5.0 AT Firmware.bin.
when I started with this I was able to post my data on, but now I am not able to post my data.
I am following below sequence for posting my data
please note that i am adding \r\n after every command and my esp is already connected to the internet.

sent -: AT+CIPMUX=1\r\n
Received -: \r\n OK \r\n

sent -: AT+CIPSTART=4,"TCP","",80\r\n
Received -: 4,CONNECT\r\n
OK \r\n
sent -: AT+CIPSEND=4,43
Received -: >

sent -: GET /update?key=IFHKMTNS05DJUFID&field1=60\r\n
Received-: \r\n

I am expecting +IPD after successful posting to the thingspeak but not getiing that only SEND OK is received.
in CIPSEND command if I give a number of characters to be sent is 44, then esp is waiting and stuck there not giving any response and if I give 43 its giving SEND OK, I have tried by adding \r\n\r\n after GET request but I am not able to post data.
By using the same sequence I was able to use send data but now it's not working.

please help me!!!
any help will be highly appreciable.



Re: Not able to post data on website

Postby pratik » Thu Jul 06, 2017 12:47 pm

Oops... you are using some REALLY outdated firmware. There have been several much better versions since then.
Please find the latest firmware from here: ... master/bin

Also, I think you are sending the GET request incorrectly. That's why your connection is being "CLOSED" right after the request. Try to send GET request using telnet on Windows to verify that you are doing it right....then do it on ESP8266. :)

Who is online

Users browsing this forum: No registered users and 3 guests