]> git.ipfire.org Git - thirdparty/nqptp.git/log
thirdparty/nqptp.git
4 years agoturn off debug messages
Mike Brady [Tue, 30 Mar 2021 09:31:12 +0000 (10:31 +0100)] 
turn off debug messages

4 years agodefine and use FIELD_SIZE macro (also found in kernel.h) and use it in place of hard_...
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

4 years agoMerge branch 'main' of github.com:mikebrady/nqptp into main
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

4 years agoDrastic simplification -- no more averaging, use the same index for shared and privat...
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.

4 years agoUpdate README.md
Mike Brady [Mon, 29 Mar 2021 20:49:11 +0000 (21:49 +0100)] 
Update README.md

No averaging takes place now.

4 years agoDon't try to print a UDP message it the length is -1, duh.
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.

4 years agofix a bug causing nqptp to ignore most response messages, makeing it take longer...
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

4 years agoAdd definition of an announce message. debug_print incoming messages
Mike Brady [Mon, 29 Mar 2021 14:36:34 +0000 (15:36 +0100)] 
Add definition of an announce message. debug_print incoming messages

4 years agoUpdate README.md
Mike Brady [Sat, 27 Mar 2021 12:04:23 +0000 (12:04 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 21:35:12 +0000 (21:35 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 20:58:17 +0000 (20:58 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 20:57:00 +0000 (20:57 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 20:54:58 +0000 (20:54 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 12:37:39 +0000 (12:37 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 12:29:34 +0000 (12:29 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 12:26:37 +0000 (12:26 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Fri, 26 Mar 2021 12:22:08 +0000 (12:22 +0000)] 
Update README.md

4 years agosmall modifications
Mike Brady [Fri, 26 Mar 2021 09:15:29 +0000 (09:15 +0000)] 
small modifications

4 years agoNot using Delay_Resp information in general. Checking if t4 and t1 are the same,...
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.

4 years agoUses epoll, still occasional error 11s, should treat Follow_Up and Delay_Resp as...
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.

4 years agoWorking, but recvmsg returns error 11 on occasion. Try epoll instead of select.
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.

4 years agofix a few [unimportant] valgrind warnings.
Mike Brady [Wed, 24 Mar 2021 07:59:18 +0000 (07:59 +0000)] 
fix a few [unimportant] valgrind warnings.

4 years agomove to an array of sources. still problems
Mike Brady [Tue, 23 Mar 2021 19:18:09 +0000 (19:18 +0000)] 
move to an array of sources. still problems

4 years agoReenable garbage collection and set a timeout of one second!
Mike Brady [Tue, 23 Mar 2021 12:58:08 +0000 (12:58 +0000)] 
Reenable garbage collection and set a timeout of one second!

4 years agoDisable garbage collection.
Mike Brady [Tue, 23 Mar 2021 11:20:11 +0000 (11:20 +0000)] 
Disable garbage collection.

4 years agoMake the garbage collection timeout an hour.
Mike Brady [Tue, 23 Mar 2021 11:05:22 +0000 (11:05 +0000)] 
Make the garbage collection timeout an hour.

4 years agorevert mode flags on opening the shared memory
Mike Brady [Mon, 22 Mar 2021 21:27:14 +0000 (21:27 +0000)] 
revert mode flags on opening the shared memory

4 years agodefine a DEBUG_LEVEL and set it to zero
Mike Brady [Mon, 22 Mar 2021 20:56:28 +0000 (20:56 +0000)] 
define a DEBUG_LEVEL and set it to zero

4 years agoOnly create a record when the first Sync is seen. Remove obselete records after about...
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.

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 17:05:41 +0000 (17:05 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 17:03:57 +0000 (17:03 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 17:03:08 +0000 (17:03 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 16:59:30 +0000 (16:59 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 16:52:04 +0000 (16:52 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 16:50:55 +0000 (16:50 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 16:50:32 +0000 (16:50 +0000)] 
Update README.md

4 years agoUpdate README.md
Mike Brady [Mon, 22 Mar 2021 16:47:21 +0000 (16:47 +0000)] 
Update README.md

4 years agoTidy some stuff up.
Mike Brady [Mon, 22 Mar 2021 16:24:34 +0000 (16:24 +0000)] 
Tidy some stuff up.

4 years agoGeneral cleanup, terminate cleanly on SIGINT and SIGTERM.
Mike Brady [Mon, 22 Mar 2021 14:42:49 +0000 (14:42 +0000)] 
General cleanup, terminate cleanly on SIGINT and SIGTERM.

4 years agoStart using gthe debug messages like Shairport Sync. Start cleaning up on exit.
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.

4 years agoUpdate nqptp.service.in
Mike Brady [Sun, 21 Mar 2021 18:24:44 +0000 (18:24 +0000)] 
Update nqptp.service.in

4 years agoGet the installer working and improve the error messages slightly.
Mike Brady [Sun, 21 Mar 2021 18:21:02 +0000 (18:21 +0000)] 
Get the installer working and improve the error messages slightly.

4 years agoAdd an installer. Untested.
Mike Brady [Sun, 21 Mar 2021 14:53:45 +0000 (14:53 +0000)] 
Add an installer. Untested.

4 years agoPrint the distant clock id and its local time as well as other diagnostics.
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.

4 years agoGenerate local clock id correctly. Untested.
Mike Brady [Sun, 21 Mar 2021 10:05:16 +0000 (10:05 +0000)] 
Generate local clock id correctly. Untested.

4 years agoInclude Clock ID in records and public record. garbage collection written but not...
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

4 years agoAdd code to index each sample so that, e.g. the first few can be discarded. Add...
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.

4 years agoUpdate README.md
Mike Brady [Sat, 20 Mar 2021 09:15:18 +0000 (09:15 +0000)] 
Update README.md

4 years agoStop using packed structures, increase the limit to 32 clocks.
Mike Brady [Sat, 20 Mar 2021 09:13:52 +0000 (09:13 +0000)] 
Stop using packed structures, increase the limit to 32 clocks.

4 years agoquieten a few debug messages
Mike Brady [Sat, 20 Mar 2021 09:12:00 +0000 (09:12 +0000)] 
quieten a few debug messages

4 years agoUpdate COPYING
Mike Brady [Fri, 19 Mar 2021 09:03:45 +0000 (09:03 +0000)] 
Update COPYING

4 years agoUpdate nqptp-shm-structures.h
Mike Brady [Fri, 19 Mar 2021 09:01:40 +0000 (09:01 +0000)] 
Update nqptp-shm-structures.h

4 years agoFix a bug resetting the samples buffer. Calculate differences each time and store...
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.

4 years agoDon't need a C++ header file just yet.
Mike Brady [Thu, 18 Mar 2021 18:24:19 +0000 (18:24 +0000)] 
Don't need a C++ header file just yet.

4 years agoAdd new standard interface files
Mike Brady [Thu, 18 Mar 2021 18:23:03 +0000 (18:23 +0000)] 
Add new standard interface files

4 years agoSeems to work pretty well. Needs tidying up!
Mike Brady [Wed, 17 Mar 2021 22:39:38 +0000 (22:39 +0000)] 
Seems to work pretty well. Needs tidying up!

4 years agoInitial shm attempt
Mike Brady [Wed, 17 Mar 2021 17:13:21 +0000 (17:13 +0000)] 
Initial shm attempt

4 years agoSeems to work pretty well. No SHM interface yet.
Mike Brady [Wed, 17 Mar 2021 14:28:42 +0000 (14:28 +0000)] 
Seems to work pretty well. No SHM interface yet.

4 years agoTransition to using SO_TIMESTAMPING and revcmsg and sendmsg. Noticed that the discont...
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.

4 years agoWorking with recvmsg and SO_TIMESTAMPNS
Mike Brady [Tue, 16 Mar 2021 12:55:19 +0000 (12:55 +0000)] 
Working with recvmsg and SO_TIMESTAMPNS

4 years agoWorks reasonably well. Two filters -- least square line of best fit and average....
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.

4 years agoWorking niecely with SIOCGSTAMP reception timing.
Mike Brady [Mon, 15 Mar 2021 14:06:29 +0000 (14:06 +0000)] 
Working niecely with SIOCGSTAMP reception timing.

4 years agotidied up
Mike Brady [Mon, 15 Mar 2021 12:22:28 +0000 (12:22 +0000)] 
tidied up

4 years agoCan keep track of separate sources now.
Mike Brady [Mon, 15 Mar 2021 12:17:03 +0000 (12:17 +0000)] 
Can keep track of separate sources now.

4 years agoinclude a linked list for recording each ptp source. Untested
Mike Brady [Mon, 15 Mar 2021 09:14:52 +0000 (09:14 +0000)] 
include a linked list for recording each ptp source. Untested

4 years agoRename main.c to nqptp.c
Mike Brady [Mon, 15 Mar 2021 08:07:32 +0000 (08:07 +0000)] 
Rename main.c to nqptp.c

4 years agoFormat
Mike Brady [Sun, 14 Mar 2021 22:10:31 +0000 (22:10 +0000)] 
Format

4 years agoInitial commit from the "listener" experimental app.
Mike Brady [Sun, 14 Mar 2021 22:09:49 +0000 (22:09 +0000)] 
Initial commit from the "listener" experimental app.

4 years agoInitial commit
Mike Brady [Sun, 14 Mar 2021 18:49:27 +0000 (18:49 +0000)] 
Initial commit