[SOLVED] GPRS module - Server communication

Status
Not open for further replies.

reven

Newbie level 6
Joined
Dec 4, 2008
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,371
Hi there,

i am using telit gsm/gprs module ge865-quad for gps data logging.
i have managed to make a get request from module to server and log the data.
now i want to do the opposite. I want the server to send a get request to the module.
Althought the modem receives the get request, i cannot figure it out what should be the http response to the server in order the client browser to complete the request. The browser continues loading until timeout error.

i have tried as a response the following:
1)
\x0D\x0A
2)
\x0D\x0A\x0D\x0A
3)
HTTP/1.1 200 OK \x0D\x0A\x0D\x0A
4)
\x0D\x0AHTTP/1.1 200 OK \x0D\x0A\x0D\x0A
5)
\x0D\x0A\x0D\x0AHTTP/1.1 200 OK \x0D\x0A\x0D\x0A

any ideas?

thanks in advance
 

Please Anyone???
 

I have managed to find the appropriete http response so that the client browser to display the response and end the transmission but i am getting a NO CARRIER at the gprs side.

any ideas?

thanks
 

have you tried an at+csq command to check the signal quality?
 

horace thanks for the response

i should explain my problem better because your answer has nothing to do with it.

i am sending a http get request from a webserver to a gprs module.
the module successufully receives the request and responses with an http response.
At the end of the response i get a NO CARRIER at the module even thought the server has received the answer and the connection is closed.
my question is why this NO CARRIER occurs?

any ideas?

thanks

---------- Post added at 10:23 ---------- Previous post was at 10:15 ----------

This is my http response:

HTTP/1.1 200 OK<CR><LF>Connection:close<CR><LF>Accept-Ranges: bytes<CR><LF>Content-Type:text/html<CR><LF>Content-Length: 3<CR><LF><CR><LF>sem<SUB>
 

Yes i have the guide... thanks for your time.

---------- Post added at 11:49 ---------- Previous post was at 11:46 ----------

Found it!!!

i have substitude "close" with "keep-alive" and it worked...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…