[ntp:questions] Re: NMEA refclock questions: baud-rate and PPS
no_spam_please at swenker.xs4all.nl
Tue Jan 31 00:06:07 UTC 2006
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.
More information about the questions