Time of Week and Local Clock
"Charles Suprin" <[email protected]> Wed, 15 Dec 2004 10:15:58 -0500
| Newsgroups | gmane.comp.hardware.gps.opensource |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am using Opensource GPS 1.11a on an MSDOS machine and it works rather well. However when OPENSOURCE GPS is running the local clock time does not update. This prevents a new instance from acquiring as the clock error is now greater than 300 seconds off. The same 300 second limit also prevents the receiver from doing a cold start. Has anyone looked at this issue? The two obvious solutions that come to my mind is to reset the local clock based on the TOW received from the GPS signal. The other is to change if ( labs(d_tow)<300) in GPSISR.CPP to something more like if (labs(d_tow)<30000) Perhaps the second is prohibited by some integer quantization effect. Are there other approaches that I am not seeing? Thanks. Charles