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

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZW3xQzVVzqojmlBo@localhost>
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-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.