phaedrus
Member level 4
sim300 get request
Hello,
This is discussed in other posts too ,but I am still unable to find the problem.I need to send some data to the server using the SIM300.
I get CONNECT OK where I connect a Socket to the server.After this I bring up a prompt using CIPSEND. So far its fine.
I then send a file which contains:
GET /MYFOLDER/ReceiveEvents.aspx?Area=z123&Sensor=s123&Loc=456 HTTP/1.1
HOST: xx.xxx.xxx.xxx
After this I manually send ^j twice and ^z once.Now I don't get any response from the modem on the terminal.
I have checked the server by using another PC over the internet and it works fine.This was done by typing
**broken link removed**
This works just fine.
When I try this on the modem, after setting the DNS and CDNSORIP=1
GET HTTP/1.1
Host: www.google.com
Connection: Keep-Alive
Accept: */*
Accept-Language: en-us
I get SEND OK and the data from google. So I think it is fine too.
When does the modem return a SEND OK ??
Hope to get some ideas.
Hello,
This is discussed in other posts too ,but I am still unable to find the problem.I need to send some data to the server using the SIM300.
I get CONNECT OK where I connect a Socket to the server.After this I bring up a prompt using CIPSEND. So far its fine.
I then send a file which contains:
GET /MYFOLDER/ReceiveEvents.aspx?Area=z123&Sensor=s123&Loc=456 HTTP/1.1
HOST: xx.xxx.xxx.xxx
After this I manually send ^j twice and ^z once.Now I don't get any response from the modem on the terminal.
I have checked the server by using another PC over the internet and it works fine.This was done by typing
**broken link removed**
This works just fine.
When I try this on the modem, after setting the DNS and CDNSORIP=1
GET HTTP/1.1
Host: www.google.com
Connection: Keep-Alive
Accept: */*
Accept-Language: en-us
I get SEND OK and the data from google. So I think it is fine too.
When does the modem return a SEND OK ??
Hope to get some ideas.