[time-nuts] Trimble Thunderbolt no longer determines the correct date
ralph at ralphsmith.org
Wed Aug 2 17:41:55 EDT 2017
I have updated my version of tboltd to do the following:
1) I incorporated your fix for the GPS epoch rollover, with the following
change: Since I was already converting the time internally to the Unix
epoch I did not use the Julian conversion, rather I simply modified the
returned Unix epoch time prior to writing to the NTP shared memory
2) Sprinkled in some #ifdef statements so the unmodified source will
compile on FreeBSD and on Debian Linux.
3) This does not include the gpsdclientd. I may or may not care enough to
fix that in the future.
Source is available at http://ralphsmith.org/~ralph/tboltd-2017-08-02.tar.gz
There are also some changes in there from the 2010 base originally used,
mostly parsing of some additional packets. Don't do anything with them
though. I also added the ability to write a PID file when running as a
daemon on BSD systems.
I should probably pull all of this into a github project, and use autoconf
or something similar to address cross-platform builds. I'm too lazy to
mess with that at the moment.
Let me know if this works for you.
> Thank you, Ralph!
> Indeed, I had tarred up the branch on github with your original code,
> not the branch with my changes...how embarrassing!
> I've updated the tarball and re-arranged the page to make it easier to
> find the latest.
> Also, if you make an official version I'll remove my download and just
> put back the startup scripts that I have added. Note that I didn't
> touch gpsclientd...
> On 08/01/2017 09:37 AM, Ralph Smith wrote:
>> Thanks for doing this, I was just about to dive into this. I've been
>> neck deep in some other things recently and just became aware of this
>> Could you check the source tarball? I just downloaded it and it appears
>> to be the unmodified version of my code from 2010.
>> Sent from my iPhone
>>> On Aug 1, 2017, at 2:42 AM, Leigh L. Klotz, Jr WA5ZNU
>>> <Leigh at WA5ZNU.org> wrote:
>>> Based on Mark Sims updates to Heather v5.0 I've updated Ralph Smith's
>>> NTP daemon to handle the rollover. I haven't updated the gpsd.
>>> It's not as ambitious as Mark's update; this one doesn't read system
>>> time so it will have to be recompiled again in about 20 years.
>>> I took Mark's Julian and Gregorian date calculations as is ;-)
>>> This is running now as well as it ever did. Thanks for the great
>>> time-nuts mailing list -- time-nuts at febo.com
>>> To unsubscribe, go to
>>> and follow the instructions there.
>> time-nuts mailing list -- time-nuts at febo.com
>> To unsubscribe, go to
>> and follow the instructions there.
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to
> and follow the instructions there.
More information about the time-nuts