[ntp:questions] Re: NMEA refclock questions: baud-rate and PPS

David J Taylor david-taylor at blueyonder.co.not-this-bit.nor-this-part.uk.invalid
Tue Jan 31 08:11:09 UTC 2006

Johan Swenker wrote:
> On Sat, 28 Jan 2006 12:07:50 -0800, John Pettitt wrote:
>>> OK, I did some testing!  I'd still like to know if you can select
>>> the COM port and baud rate without recompiling.
>> Nope it's a hard define in refclock_nmea.c
>> #define SPEED232        B4800   /* uart speed (4800 bps) */
> On a unix-like system you can however use standard functionality to
> change the baudrate after ntpd set it to the default value.
> stty 9600 < /dev/ttyS1
> sets the baudrate of device /dev/ttyS1 to 9600.
> Succes, Johan

Indeed, however the issue is extending that to other operating systems, 
rather than relying on an external OS-specifc function.  Having a setting 
in the ntp.conf file would be more consistent.


More information about the questions mailing list