[ntp:questions] clockvar on Palisade
giometti at linux.it
Fri Mar 18 23:00:05 UTC 2005
I should modify the Palisade refclock driver in order to support some
diagnostic messages to/from the Palisade Antenna.
I notice the clockvar (clock variables) and I suppose that these
variable may resolve my problem. I can use them to send/receive info
on the Antenna status to the user by using the ntpq program.
My question is: I notice the functions add_var() and set_var() to
create and set these variables but I can't understand why there is no
such get_var() function. So, when the user does the ntpq command:
clockvar 1234 myvar = "some data"
how I can read such info in the palisade_control() function?
Thanks in advance,
GNU/Linux Solutions e-mail: giometti at linux.it
Linux Device Driver giometti at enneenne.com
Embedded Systems home page: giometti.enneenne.com
UNIX programming phone: +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the questions