Re: [chrony-users] Does chrony have an IPC API to supply pps time for non standard GPS time source?

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Sun, Dec 03, 2023 at 07:19:43PM +0000, Whelan, Andy wrote:
> We would like to know if there are available IPC APIs (whether socket, message queue, or shared memory) to feed a chrony server time information.

There is the SOCK refclock for that. Here are some examples:

https://gitlab.com/gpsd/gpsd/-/blob/master/gpsd/timehint.c?ref_type=heads#L324
https://github.com/mlichvar/ntp-refclock/blob/master/sock.c

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/