]>
git.ipfire.org Git - thirdparty/nqptp.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Mike Brady [Tue, 30 Mar 2021 09:31:12 +0000 (10:31 +0100)]
turn off debug messages
Mike Brady [Tue, 30 Mar 2021 09:26:39 +0000 (10:26 +0100)]
define and use FIELD_SIZE macro (also found in kernel.h) and use it in place of hard_wired string buffer length
Mike Brady [Tue, 30 Mar 2021 09:16:28 +0000 (10:16 +0100)]
Merge branch 'main' of github.com:mikebrady/nqptp into main
Forgot online documentation update
Mike Brady [Tue, 30 Mar 2021 09:16:09 +0000 (10:16 +0100)]
Drastic simplification -- no more averaging, use the same index for shared and private clock arrays, don't send a Delay_Req, just use the Follow_Up preciseOriginTime.
Mike Brady [Mon, 29 Mar 2021 20:49:11 +0000 (21:49 +0100)]
Update README.md
No averaging takes place now.
Mike Brady [Mon, 29 Mar 2021 20:22:15 +0000 (21:22 +0100)]
Don't try to print a UDP message it the length is -1, duh.
Mike Brady [Mon, 29 Mar 2021 15:37:19 +0000 (16:37 +0100)]
fix a bug causing nqptp to ignore most response messages, makeing it take longer to find a clock
Mike Brady [Mon, 29 Mar 2021 14:36:34 +0000 (15:36 +0100)]
Add definition of an announce message. debug_print incoming messages
Mike Brady [Sat, 27 Mar 2021 12:04:23 +0000 (12:04 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 21:35:12 +0000 (21:35 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 20:58:17 +0000 (20:58 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 20:57:00 +0000 (20:57 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 20:54:58 +0000 (20:54 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 12:37:39 +0000 (12:37 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 12:29:34 +0000 (12:29 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 12:26:37 +0000 (12:26 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 12:22:08 +0000 (12:22 +0000)]
Update README.md
Mike Brady [Fri, 26 Mar 2021 09:15:29 +0000 (09:15 +0000)]
small modifications
Mike Brady [Thu, 25 Mar 2021 13:49:53 +0000 (13:49 +0000)]
Not using Delay_Resp information in general. Checking if t4 and t1 are the same, that's all.
Mike Brady [Wed, 24 Mar 2021 17:22:47 +0000 (17:22 +0000)]
Uses epoll, still occasional error 11s, should treat Follow_Up and Delay_Resp as nearly the same.
Mike Brady [Wed, 24 Mar 2021 14:02:30 +0000 (14:02 +0000)]
Working, but recvmsg returns error 11 on occasion. Try epoll instead of select.
Mike Brady [Wed, 24 Mar 2021 07:59:18 +0000 (07:59 +0000)]
fix a few [unimportant] valgrind warnings.
Mike Brady [Tue, 23 Mar 2021 19:18:09 +0000 (19:18 +0000)]
move to an array of sources. still problems
Mike Brady [Tue, 23 Mar 2021 12:58:08 +0000 (12:58 +0000)]
Reenable garbage collection and set a timeout of one second!
Mike Brady [Tue, 23 Mar 2021 11:20:11 +0000 (11:20 +0000)]
Disable garbage collection.
Mike Brady [Tue, 23 Mar 2021 11:05:22 +0000 (11:05 +0000)]
Make the garbage collection timeout an hour.
Mike Brady [Mon, 22 Mar 2021 21:27:14 +0000 (21:27 +0000)]
revert mode flags on opening the shared memory
Mike Brady [Mon, 22 Mar 2021 20:56:28 +0000 (20:56 +0000)]
define a DEBUG_LEVEL and set it to zero
Mike Brady [Mon, 22 Mar 2021 20:47:29 +0000 (20:47 +0000)]
Only create a record when the first Sync is seen. Remove obselete records after about 15 seconds. Tidy up a little.
Mike Brady [Mon, 22 Mar 2021 17:05:41 +0000 (17:05 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 17:03:57 +0000 (17:03 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 17:03:08 +0000 (17:03 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:59:30 +0000 (16:59 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:52:04 +0000 (16:52 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:50:55 +0000 (16:50 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:50:32 +0000 (16:50 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:47:21 +0000 (16:47 +0000)]
Update README.md
Mike Brady [Mon, 22 Mar 2021 16:24:34 +0000 (16:24 +0000)]
Tidy some stuff up.
Mike Brady [Mon, 22 Mar 2021 14:42:49 +0000 (14:42 +0000)]
General cleanup, terminate cleanly on SIGINT and SIGTERM.
Mike Brady [Mon, 22 Mar 2021 13:09:57 +0000 (13:09 +0000)]
Start using gthe debug messages like Shairport Sync. Start cleaning up on exit.
Mike Brady [Sun, 21 Mar 2021 18:24:44 +0000 (18:24 +0000)]
Update nqptp.service.in
Mike Brady [Sun, 21 Mar 2021 18:21:02 +0000 (18:21 +0000)]
Get the installer working and improve the error messages slightly.
Mike Brady [Sun, 21 Mar 2021 14:53:45 +0000 (14:53 +0000)]
Add an installer. Untested.
Mike Brady [Sun, 21 Mar 2021 12:27:40 +0000 (12:27 +0000)]
Print the distant clock id and its local time as well as other diagnostics.
Mike Brady [Sun, 21 Mar 2021 10:05:16 +0000 (10:05 +0000)]
Generate local clock id correctly. Untested.
Mike Brady [Sun, 21 Mar 2021 09:46:34 +0000 (09:46 +0000)]
Include Clock ID in records and public record. garbage collection written but not tested. Generation of clock id needs overhaul
Mike Brady [Sat, 20 Mar 2021 16:52:32 +0000 (16:52 +0000)]
Add code to index each sample so that, e.g. the first few can be discarded. Add code for a nine-point Savitzky–Golay filter, but it doesn't seem useful, so commented out.
Mike Brady [Sat, 20 Mar 2021 09:15:18 +0000 (09:15 +0000)]
Update README.md
Mike Brady [Sat, 20 Mar 2021 09:13:52 +0000 (09:13 +0000)]
Stop using packed structures, increase the limit to 32 clocks.
Mike Brady [Sat, 20 Mar 2021 09:12:00 +0000 (09:12 +0000)]
quieten a few debug messages
Mike Brady [Fri, 19 Mar 2021 09:03:45 +0000 (09:03 +0000)]
Update COPYING
Mike Brady [Fri, 19 Mar 2021 09:01:40 +0000 (09:01 +0000)]
Update nqptp-shm-structures.h
Mike Brady [Fri, 19 Mar 2021 08:29:45 +0000 (08:29 +0000)]
Fix a bug resetting the samples buffer. Calculate differences each time and store them.
Mike Brady [Thu, 18 Mar 2021 18:24:19 +0000 (18:24 +0000)]
Don't need a C++ header file just yet.
Mike Brady [Thu, 18 Mar 2021 18:23:03 +0000 (18:23 +0000)]
Add new standard interface files
Mike Brady [Wed, 17 Mar 2021 22:39:38 +0000 (22:39 +0000)]
Seems to work pretty well. Needs tidying up!
Mike Brady [Wed, 17 Mar 2021 17:13:21 +0000 (17:13 +0000)]
Initial shm attempt
Mike Brady [Wed, 17 Mar 2021 14:28:42 +0000 (14:28 +0000)]
Seems to work pretty well. No SHM interface yet.
Mike Brady [Tue, 16 Mar 2021 22:17:42 +0000 (22:17 +0000)]
Transition to using SO_TIMESTAMPING and revcmsg and sendmsg. Noticed that the discontinuities when not playing seem real.
Mike Brady [Tue, 16 Mar 2021 12:55:19 +0000 (12:55 +0000)]
Working with recvmsg and SO_TIMESTAMPNS
Mike Brady [Tue, 16 Mar 2021 08:33:32 +0000 (08:33 +0000)]
Works reasonably well. Two filters -- least square line of best fit and average. Neither is great. Not using recvmsg. Signal sequence checking is crude.
Mike Brady [Mon, 15 Mar 2021 14:06:29 +0000 (14:06 +0000)]
Working niecely with SIOCGSTAMP reception timing.
Mike Brady [Mon, 15 Mar 2021 12:22:28 +0000 (12:22 +0000)]
tidied up
Mike Brady [Mon, 15 Mar 2021 12:17:03 +0000 (12:17 +0000)]
Can keep track of separate sources now.
Mike Brady [Mon, 15 Mar 2021 09:14:52 +0000 (09:14 +0000)]
include a linked list for recording each ptp source. Untested
Mike Brady [Mon, 15 Mar 2021 08:07:32 +0000 (08:07 +0000)]
Rename main.c to nqptp.c
Mike Brady [Sun, 14 Mar 2021 22:10:31 +0000 (22:10 +0000)]
Format
Mike Brady [Sun, 14 Mar 2021 22:09:49 +0000 (22:09 +0000)]
Initial commit from the "listener" experimental app.
Mike Brady [Sun, 14 Mar 2021 18:49:27 +0000 (18:49 +0000)]
Initial commit