9:30 am


Silver
January 19, 2015

hey guys needed little help with getting data back from "talk back" app using the esp8266 in serial terminal in windows...... may be im doin something wrong with the AT commands
this is what i tried doin manually in a serial terminal
---------------------------------------------------------------------
AT
OK
AT+CIPMODE=0
OK
AT+CIPMUX=1
OK
AT+CIPSTART=0,"TCP","api.thingspeak.com",80
0,CONNECT
OK
AT+CIPSEND=0,110
> GET https://api.thingspeak.com/talkbacks/1203/commands/execute?api_key=0OT6Y43XC6Y5YVJ9 HTTP/1.0
SEND OK
0,CLOSED
OK
--------------------------------------------------------------------------------------------
i got commands cued but it just doesn't get any content back....... after a long time it says "0,CLOSED
OK"
im still trying to get this to work in serial terminal(to study it) before implementing it in a microcontroller....... any help will be useful.....
10:49 pm


Silver
February 8, 2015

9:58 pm


Silver
February 21, 2015

11:07 am

February 22, 2015

12:05 pm


Silver
January 19, 2015

6:08 am


Silver
January 19, 2015

guys i have done it....... after playing around with the esp8266 as a TCP client and observing how my computer browser tries to execute a GET command i have tried to make the esp8266 imitate my computer browser and am successful with executing commands with the esp8266
im surprised that the esp8266 being so cheap has so little support and verry few people use it...
but anyways here is what i had to do to get it working
first of all i ditched using cipmux=1 as i dont need to start multiple connections for my application
so i directly start with
------------------------------------------
AT+CIPSTART="TCP","184.106.153.149",80
AT+CIPSEND="xx" (where "xx" is the length if the line below +1)
GET /talkbacks/1203/commands/execute?api_key=0OT6Y43XC6Y5YVJ9
------------------------------------------
and this is that i get back
------------------------------
+IPD,5:test4
OK
CLOSED
------------------------------
note :- "184.106.153.149" is the ip address of api.thingspeak.com u can use the url too but ip works fine for me as i had encountered dns error once so using ip address makes it more reliable in my case
and when u send "T+CIPSEND=" u dont need to specify the domain / ip again so that was my mistake....
hope this helps every 1 who is struggling with the same prob that i had
will be implementing this with a micro controller soon
Most Users Ever Online: 166
Currently Online:
29 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 272
Vinod: 240
piajola: 95
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 8665
Moderators: 1
Admins: 2
Forum Stats:
Groups: 3
Forums: 14
Topics: 1600
Posts: 5760
Newest Members:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457