web page GPRS problem.

7 thoughts on “web page GPRS problem.

  1. Hi.

    I now test connect to my test web server and read any web page.

    but don’t wotk .

    my server is http://www.cortexbs.sk and I want load page http://www.cortexbs.sk/time.php

    but resond is :


    HTTP/1.1 400 Bad Request
    Date: Wed, 12 Jan 2011 08:32:08 GMT
    Server: Apache
    Content-Length: 307
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    <title>400 Bad Request</title>
    <h1>Bad Request</h1>
    <p>Your browser sent a request that this server could not understand.<br />
    <address>Apache Server at http://www.cortexbs.sk/time.php Port 80</address>

    is possible to help with this ??

    I try this :

    AT#GPRS=1 – OK

    AT#SKTD=0,80,"www.cortexbs.sk",0,0 – CONNECT


    and what else ? I try example from easy GPRS document but don’t work

    what is wrong  

  2. OK.
    All work if want show me home page : http://www.cortexbs.sk

    but if want show this page http://www.cortexbs.sk/time.php

    how do that?


    if use rsterm and connect to http://www.cortexbs.sk and send to servert this :

    GET / HTTP/1.0
    Host: http://www.cortexbs.sk
    Connection: keep-alive

    server send me index.html page (home page of http://www.cortexbs.sk) .

    but if send to server this :


    GET / HTTP/1.0
    Host: http://www.cortexbs.sk/time.php
    Connection: keep-alive

    then server return bud request 404

     what is wrong?

    if test FTP than all work good. 


    why I do that ? I want synchronize internal clock with real time but using NITZ don’t work and search other way how to do it.

    easy way is synchronize time from received SMS or from internet.

    I create easy web page , if show then see real date time. I want synchronize time from this web page. 

  3. GET /time.php HTTP/1.0
    Host: http://www.cortexbs.sk
    Connection: keep-alive


    Please keep to the forum subject, this has more to do with HTTP protocol which has its documentation available for reading in a lot of places.


    Check also SNTP (Simple Network Time Protocol), quite easy to implement.


    1. May I write easy question but guru don’t write this to forum and beginner don’t want synchronize time from web. your help work good.

      I search before easy way how to synchronize time and look at SNTP but show my self web page is more easy. Show GMT time and if possible to read timezone from network then I can easy synchronize. if not then define my timezone manual.