I have a working server side script that allows for viewing of GPS position in real-time and recoding of journeys.
I have done quite a lot of work on this and written a load of documentation.
You can read this and post you questions and suggestions here: http://www.sheepforums.co.cc/index.php?c=5
Http data is sent via Http POST with encoding "application/x-www-form-urlencoded".
lat - latitude in format dd:mm:ss.ss
lon - latitude in format dd:mm:ss.ss
alt - altitude in meters
speed - speed in meters per second
course - in degrees 0-359
time - timestamp in miliseconds since midnight, January 1, 1970 UTC
you may simply read these data and use. more than one position can be sent, it depends on settings.
Is it correct? My php file's location is: http://home.sch.bme.hu/korda/gps/cod.php
When I set this url in the "send location" menu and press send http, then the app show this message: "sending failed : null"
Any idea why goes wrong?
Anyway your program is very good!
Doing some work on this
I have a working server side script that allows for viewing of GPS position in real-time and recoding of journeys.
I have done quite a lot of work on this and written a load of documentation.
You can read this and post you questions and suggestions here:
http://www.sheepforums.co.cc/index.php?c=5
serverside
the serverside is not implemeted yet and data are not handled. it will come later. but you can change the url and send it to your server.
how can i track the data on
how can i track the data on my server? what must be there in the *.php script?
tracking server
Http data is sent via Http POST with encoding "application/x-www-form-urlencoded".
lat - latitude in format dd:mm:ss.ss
lon - latitude in format dd:mm:ss.ss
alt - altitude in meters
speed - speed in meters per second
course - in degrees 0-359
time - timestamp in miliseconds since midnight, January 1, 1970 UTC
you may simply read these data and use. more than one position can be sent, it depends on settings.
simple php code
Hi!
I wrote a simple php code (cod.php):
<?php
$lat = $_POST['lat'];
$lon = $_POST['lon'];
$alt = $_POST['alt'];
$speed = $_POST['speed'];
$course = $_POST['course'];
$time = $_POST['time'];
echo "GPS info: ". $lat . " " . $lon . " " . $alt . " " . $speed . " " . $course . " " . $alt . ".";
?>
Is it correct? My php file's location is: http://home.sch.bme.hu/korda/gps/cod.php
When I set this url in the "send location" menu and press send http, then the app show this message: "sending failed : null"
Any idea why goes wrong?
Anyway your program is very good!