Hal Murray <[EMAIL PROTECTED]> wrote: > > Hope everyone's getting ready for the big event. > > Does anybody have code that will open a serial port and log what comes in > with a timestamp on each line? > > I can capture the serial data via minicom, but that doesn't have any time > stamps. > > I can get good timestamps from NPTs clockstats logging, but that doesn't grab > every line from NMEA drivers, just the ones the driver wants.
It seems to me like it'd be pretty straightforward to add a call to record_clock_stats() for every piece of data you get from the NMEA device. Some drivers will, if ntpd is started in debug, log everything to stdout. These are fairly generic things to do if you're debugging a refclock, but if you aren't rotating/purging logfiles you've gotta watch disk usage. The time to change the source code is BEFORE 23:59:60. Tim. _______________________________________________ time-nuts mailing list [email protected] https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
