HI Guys I am buzy with a GPS logger project but can seem to get the time rite , I live in South africa and the GPS time is two hours behind. which means its on daytime saving somehow , how can i Change this to my time ?
ALos is there any settings that can be chnaged to make a GPS get a faster lock from cold start or does the settings not effect the GPS ?
A GPS reports the time in GMT. You are two hours ahead of GMT.
make a GPS get a faster lock from cold start
Depends on the GPS. The EM-406a has a "start" command which allows you to give it the time and your current location so that it can do a "warm" start. I'm fairly sure I've seen one where you can upload current orbital elements for the satellites which speeds the startup process too.
Yes, all you have to do to get your local time is add two hours to the GMT time. But be careful that if the GMT time is 2200 or later, adding two hours crosses you into the next day. And if, the GMT day happens to be the end of the month then you also have to take care of switching the date to the next month. And then if all that happens in December you have to take care of the new year.
I think there are some libraries which can handle that sort of thing but don't know of a specific one.
Guys there must be a easier way to fix the time on the GPS unit ? does everday Garmins have its own realtime clock to get time then or do they get it from the GPS ?
What do you mean, 'fix the time'? The GPS knows the time. It uses UTC. Commercial Sat Navs also know where they are, so can apply the appropriate correction to get local time.