-->
Page 1 of 3

Module and ThingsSpeak , why is it not working ???

PostPosted: Wed Feb 11, 2015 3:43 am
by rant
I am trying to do simple things with the module and it seems that nothing is working. just nothing .
I am trying to get some data from Thingspeak (works in a browser) and i get no respond .

Can someone explain what is this STUPID sentence that says : wrong syntax +error+send ok ?! sent or not ????

Code: Select allAT+CIPMUX=1


OK
AT+CWMODE=3

no change
AT+CWJAP="home","0545555555"


OK
AT+CIPSTART=4,"TCP","184.106.153.149",80


OK
Linked
AT+CIPSEND=4,50

> GET /channels/26203/feed.json?key=YLV32ZZOM7K245S3

wrong syntax

ERROR

SEND OK

Re: Module and ThingsSpeak , why is it not working ???

PostPosted: Wed Feb 11, 2015 4:12 am
by rant
update :

I have changed that to this and get send ok :


Code: Select allAT+CIPSEND=4,52

> GET /channels/26203/feed.json?key=YLV32ZZOM7K245S3

SEND OK



but there is no respond from the module. i cant never ever get any respond from nowhere.
Can it be broken in some way that i cant get responds ?

Re: Module and ThingsSpeak , why is it not working ???

PostPosted: Wed Feb 11, 2015 4:49 am
by lethe
rant wrote:but there is no respond from the module. i cant never ever get any respond from nowhere.
Can it be broken in some way that i cant get responds ?

That's propably because your GET request is not in a valid format. Its missing the protocol, the host (optional in case of HTTP/1.0) and most importantly the trailing CRLF.
See:
http://en.wikipedia.org/wiki/Hypertext_ ... le_session
http://tools.ietf.org/html/rfc7230#section-2.1

A valid request in your case would look like this:
Code: Select allGET /channels/26203/feed.json?key=YLV32ZZOM7K245S3 HTTP/1.1
Host: thingspeak.com


All line breaks are CRLF (\r\n) of course. Also note the blank line at the end, this marks the end of your request.

Re: Module and ThingsSpeak , why is it not working ???

PostPosted: Wed Feb 11, 2015 4:58 am
by rant
I have tried exactly what you said, i get the send ok sign , but THERE IS NO RESPOND FROM THIS MODULE .


Code: Select all> GET /channels/26203/feed.json?key=YLV32ZZOM7K245S3 HTTP/1.1 Host: thingspeak.com

SEND OK



In a browser it works great . i cant understand this module.