Update GPS via WiFi
Posted: Sun Dec 08, 2013 10:02 am
After intensive testing, the following changes have been made to the 'Home'-function and subroutine in the attached files:
- timer threshold reduced to 500msec.
- comparison on validity changed from AND to OR-function
- added variable 'valid' for easy testing on valid GPSdata
It takes several seconds (iPad-1) before GPSvalidity changes after switching WiFi ON or OFF in device-settings.
I tried to change the variables x,y and z in the function 'GET GPS' to GPSx, GPSy and GPSz
but that resulted in 0,0,0 as output.
Is that a bug, or am I mistaking?
time-threshold increased to 3000msec. on 08 Dec 2013, 19:50
Subroutine adapted according to reply on 09 Dec 2013, 13:21
- timer threshold reduced to 500msec.
- comparison on validity changed from AND to OR-function
- added variable 'valid' for easy testing on valid GPSdata
It takes several seconds (iPad-1) before GPSvalidity changes after switching WiFi ON or OFF in device-settings.
I tried to change the variables x,y and z in the function 'GET GPS' to GPSx, GPSy and GPSz
but that resulted in 0,0,0 as output.
Is that a bug, or am I mistaking?
time-threshold increased to 3000msec. on 08 Dec 2013, 19:50
Subroutine adapted according to reply on 09 Dec 2013, 13:21