[ntp:questions] Using Trimble Thunderbolt GPS receiver
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 127.127.8.6 mode 10 prefer
I get such errors in my console output:
23 Jul 15:35:34 ntpd: PARSE receiver #6: interval for following error
age class is at least 00:01:00
23 Jul 15:35:34 ntpd: PARSE receiver #6: sendetx: failed to send cmd
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
Can someone tell me how to fix this problem?
More information about the questions