The app establishes a connection with a Raspi (and if necessary searches for its IP address in the local WiFi network) in order to transmit GPS coordinates and the current time via https: //. A web server must be running on the Rapi, which replies to the following address:
https: // /gps_time/index.php?Time=123&Lon=123&Lat=123. the index.php could have the following content:
$ clock = $ _GET ['Time'];
$ Lon = $ _GET ['Lon'];
$ Lat = $ _GET ['Lat'];
print "Time: $ clock";
print "
Lon .: $ Lon";
print "
Lat .: $ Lat";
?>
https: // /gps_time/index.php?Time=123&Lon=123&Lat=123. the index.php could have the following content:
$ clock = $ _GET ['Time'];
$ Lon = $ _GET ['Lon'];
$ Lat = $ _GET ['Lat'];
print "Time: $ clock";
print "
Lon .: $ Lon";
print "
Lat .: $ Lat";
?>
Show More