[ntp:questions] Using Trimble Thunderbolt GPS receiver

Igor Pavlov pavlov.ig at gmail.com
Tue Jul 23 11:55:02 UTC 2013


I am trying to use Trimble Thunderbolt GPS receiver with ntpd.
It is connected to COM6 serial port.

I put this string to my ntpd.conf file:
server mode 10 prefer

I get such errors in my console output:

23 Jul 15:35:34 ntpd[4420]: PARSE receiver #6: interval for following error
age class is at least 00:01:00
23 Jul 15:35:34 ntpd[4420]: PARSE receiver #6: sendetx: failed to send cmd
to cl
ock: Invalid argument

I use ntp-dev-4.2.7p371 build on Windows. It is debug version.

I did little investigation.
Error occurs in file refclock_parse.c in function
  void sendex(struct txbuf* buf, int b)
when using "write" define (which goes to _write() function in Microsoft VC
This _write() function calling WriteFile() it's write operation
synchronously, with last argument
lpOverlapped = NULL and it results as error, because file (serial port) was
opened with

Can someone tell me how to fix  this problem?

Igor Pavlov

More information about the questions mailing list