[ntp:questions] NMEA driver using common PPSAPI code

Dave Hart davehart at gmail.com
Tue Oct 26 19:43:43 UTC 2010


On Tue, Oct 26, 2010 at 19:22 UTC, BlackLists wrote:
> Do you need to change that to 127.127.20.4 ?
>
> ntp-dev-4.2.7p72 refclock_nmea.c
>  * GPS sentences other than RMC (the default) may be enabled by setting
>  * the relevent bits of 'mode' in the server configuration line
>  * server 127.127.20.x mode X
>  *
>  * bit 0 - enables RMC (1)
[...]
>  * Multiple sentences may be selected except when ZDG/ZDA is selected.

The wording is less than ideal, but the "mode" bits come not in the
final octet of the 127.127.driver.unit address, but in the mode byte,
as in

server 127.127.20.0 mode 16

to open NMEA unit 0 at 9600bps.

Cheers,
Dave Hart



More information about the questions mailing list