aboutsummaryrefslogtreecommitdiff
path: root/comms/dcf77pi
Commit message (Collapse)AuthorAgeFilesLines
* comms/dcf77pi: pet portclippyRene Ladan2021-04-211-6/+5
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Move ports that I wrote to my personal email address.Rene Ladan2020-12-051-1/+1
| | | | Notes: svn path=/head/; revision=557083
* Bump PORTREVISION for devel/json-c json-cSunpoet Po-Chuan Hsieh2020-05-221-0/+1
| | | | Notes: svn path=/head/; revision=536219
* comms/dcf77pi: update to 3.7.1.1, clean up MakefileRene Ladan2020-04-173-11/+11
| | | | Notes: svn path=/head/; revision=531972
* UCL-ify pkg-message of my ports.Rene Ladan2019-07-091-0/+7
| | | | Notes: svn path=/head/; revision=506305
* Add DOCS options to ports that should have one.Mathieu Arnold2018-09-101-1/+3
| | | | | | | | | | | Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine Notes: svn path=/head/; revision=479406
* Update devel/json-c to 0.13.1Sunpoet Po-Chuan Hsieh2018-09-051-0/+1
| | | | | | | | | | | | - Add my LOCAL to MASTER_SITES - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/json-c/json-c/blob/master/ChangeLog PR: 231007 Exp-run by: antoine Notes: svn path=/head/; revision=479045
* comms/dcf77pi: update to version 3.7.0Rene Ladan2018-07-083-10/+11
| | | | Notes: svn path=/head/; revision=474198
* comms/dcf77pi: update to 3.6.1Rene Ladan2017-11-192-4/+4
| | | | | | | | Changelog: https://github.com/rene0/dcf77pi/releases/tag/3.6.1 MFH: 2017Q4 Notes: svn path=/head/; revision=454490
* comms/dcf77pi: update to 3.6.0Rene Ladan2017-05-164-7/+10
| | | | | | | | | See CHANGELOG.md for changes While here, improve pkg-message Notes: svn path=/head/; revision=441010
* comms/dcf77pi: add a tip to make it possible to run the programs as non-rootRene Ladan2017-04-271-0/+9
| | | | Notes: svn path=/head/; revision=439563
* comms/dcf77pi: update to version 3.5.0Rene Ladan2016-05-022-3/+3
| | | | | | | | | - pin numbers are now 16 bits - rename some functions to not confuse Doxygen - make some functions public Notes: svn path=/head/; revision=414480
* Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.Mathieu Arnold2016-04-011-1/+1
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412344
* comms/dcf77pi: update to version 3.4.2Rene Ladan2016-01-102-3/+3
| | | | | | | | | This update fixes a bug in the century calculation which could result in wrongly calculated dates. MFH: 2016Q1 Notes: svn path=/head/; revision=405730
* comms/dcf77pi: update to version 3.4.1Rene Ladan2015-12-262-3/+3
| | | | Notes: svn path=/head/; revision=404506
* comms/dcf77pi: update to 3.4.0Rene Ladan2015-11-082-3/+10
| | | | | | | | | Add option to create Doxygen HTML Changelog: https://github.com/rene0/dcf77pi/releases/tag/3.4.0 Notes: svn path=/head/; revision=401073
* Update ports in the [bcd]* categories to not use GH_COMMIT.Mathieu Arnold2015-05-062-3/+2
| | | | | | | | | | With minor cleanups to make things simpler. With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=385521
* comms/dcf77pi: update to 3.3.0Rene Ladan2014-12-242-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * improve support for decoding the alarm messages by showing the main German regions which are affected. Note that this was an experimental and now unused system. With permission from Mr. Wenzelewski from DIN * Doxygen support, provide a Doxyfile (not supported by the port yet) * Small fixes to the FidoCADJ schematics * library: - assign date/time fields more independently so that errors are corrected faster - record the accumulated minute length at the end of each line in the log file, preceded by an 'a'. These values are read back by get_bit_file() - redesign the calculations for the accumulated minute length to be more accurate in case of reception errors or reading log files. Time can now be adjust forwards and backwards. - record the minute cutoff value at the end of each line in the log file, preceded by a 'c'. These values are read back by get_bit_file() - skip consecutive newlines in the log file - use a more accurate sleep time when receiving live bits - set upper bound of hw.freq to 155,000 Hz - API cleanups (types sanitized, const qualifiers added, some renames) - algorithm and code cleanups * dcf77pi: - show the accumulated minute length each second instead of each minute - show the minute cutoff value Notes: svn path=/head/; revision=375497
* Clean up pkg-plist of my ports.Rene Ladan2014-10-091-2/+0
| | | | Notes: svn path=/head/; revision=370516
* - Update comms/dcf77pi to version 3.2.0Rene Ladan2014-09-184-27/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use USE_LDCONFIG Overall changes: - Compile with -fpic instead of -fPIC (potentially smaller code size) - Add a schematics file for the hardware receiver in FidoCadJ format - Language and typographical updates to README.md - Several signed/unsigned/size fixes Library changes: - Extract generic third-party code for bits 1..14 from decode_alarm.h into a new file bits1to14.h - Convert almost all calculations for decoding the live signal into integer operations, drop fields 'a', 'frac', and 'maxone' from struct bitinfo. - New function setclock_ok() in setclock.h - New functions get_acc_minlen(), add_acc_minlen(), reset_acc_minlen() in decode_time.h. The accumulated minute length is now a first-class entity. When decoding the live signal, increment it more precisely than just 1000 ms/s to prevent drift during bad radio reception. - New functions dcftime() and isotime() in decode_time.h. Use the latter in setclock.c - Check input values of etc/config.txt: - hw.active_high must be 0 or 1 - hw.freq must be even between 10 and 666666 - Reset the values of bit0 and bit20 if the latter becomes smaller than the former, show this in the log file using a '!' - Compact the signal buffer, it now stores 8 pulses per byte instead of just 1. Client changes: - Make dcf77pi and dcf77pi-analyze more agnostic of the contents of the third-party contents - Update display code of dcf77pi and readpin for the updates to the live signal decoding - Show in dcf77pi when the value of bit20 underflows - Update the code to display the signal buffer in readpin - Fix readpin to properly clean up when receiving a SIGINT Notes: svn path=/head/; revision=368444
* comms/dcf77pi: apply upstream patch to fix display bug when realfreq is resetRene Ladan2014-07-202-0/+24
| | | | Notes: svn path=/head/; revision=362380
* comms/dcf77pi: update to 3.1.0, improve pkg-descrRene Ladan2014-07-143-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | General: - add partial support for OSX and Cygwin - add bitinfo.last0 field which represents the last pulse where the radio signal was 0 - store radio signal into a new field bitinfo.signal - more robust handling of radio signal glitches - improve realfreq by approximately 7% on a non-optimized standard build - simplify code for handling DST changes and leap seconds - defer assigning the decoded time until the minute length has been checked to match the exact expected value (i.e. 59 unless a leap second occurs) - code cleanups README: - mention supported platforms dcf77pi: - display updates, show last0 readpin: - overhaul to make more use of libdcf77 - drop -t parameter Notes: svn path=/head/; revision=361774
* comms/dcf77pi: Update 3.0.0.1Rene Ladan2014-06-013-6/+15
| | | | | | | | | | | | | The code to decode the radio signal, date/time, and civil warnings is now provided in a library libdcf77.so together with the relevant header files. dcf77pi is now split up into dcf77pi (the live client) and dcf77pi-analyze (the client to analyze log files). The -f parameter of dcf77pi is dropped. Apply minor lint(1) fixes. Notes: svn path=/head/; revision=356132
* comms/dcf77pi: update to 2.1.0Rene Ladan2014-05-112-4/+4
| | | | | | | | | | | | | | | | | | General: - the maxzero and maxone parameters are now determined dynamically, remove them from config.txt and README.md - Do not consider time offset jumps if bit 17 and 18 are equal readpin: - add a -q parameter to suppress displaying of the raw signal (default off) - display updates dcf77pi: - display updates/fixes, show radio state (OK if no receive/transmit/random errors) Notes: svn path=/head/; revision=353681
* comms/dcf77pi: update to 2.0.3, use the new @sample keywordRene Ladan2014-04-133-7/+5
| | | | | | | | | | - Mention the "backspace" key in README.md - Reset DST and leap second announcements at the next hour - Detect sudden jumps to non-DST - Relax conditions for processing a DST change Notes: svn path=/head/; revision=351228
* comms/dcf77pi: update to 2.0.2Rene Ladan2014-03-312-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | - Prevent a possible string overflow when reading the configuration file. - Plug a few memory leaks. - Refactor a lot of code. - Replace -l parameter (specify logfile) of dcf77pi by an interactive 'L' key which can also be used to change or disable the log file. - New entry in config.txt, "outlogfile", to specify the the default log file (default empty). - Fix a bug where the hour would be wrongly considered off by one at the moment of a DST change. - Various bug fixes in the GUI code (only affected displaying of the data). - Handle log files with \n\r line endings used by RISC OS (which runs on the Raspberry Pi). - Slightly improve output when reading from a log file. - Update README.md Notes: svn path=/head/; revision=349808
* comms/dcf77pi: No need to check for and install configuration sample inRene Ladan2014-02-281-3/+0
| | | | | | | Makefile with stage support. Notes: svn path=/head/; revision=346532
* comms/dcf77pi: update to 2.0.1Rene Ladan2014-02-212-8/+6
| | | | | | | | | | | - support DESTDIR and install-strip, uninstall targets in upstream Makefile - clean up port Makefile accordingly - bugfix: do not accept removed 'S' command line option - bugfix: display 'no minute' at the correct position in GUI mode - do not leak curses memory at exit Notes: svn path=/head/; revision=345378
* comms/dcf77pi: update to version 2.0.0Rene Ladan2014-02-162-4/+6
| | | | | | | | | | | - Provide an ncurses based interface in live mode, no changes when reading from a log file - Drop the -v and -S parameters, they are now part of the GUI - add ncurses to USES Notes: svn path=/head/; revision=344554
* comms/dcf77pi: Update to 1.1.3Rene Ladan2014-01-312-4/+4
| | | | | | | | | | | | Changes: - Add the correct number of minutes when the accumulated minute length is more than 60 seconds (happens when e.g. the transmitter is off). - Disallow DST changes or leap seconds if a 0 is specified for summermonth, wintermonth, or leapsecmonths. - Allow compilation on NetBSD. Notes: svn path=/head/; revision=341907
* Update to 1.1.2Rene Ladan2014-01-012-4/+4
| | | | | | | | | | Changes: - replace hardcoded realfreq parameter with a dynamically determined value and update README.md - minor updates to time decoder Notes: svn path=/head/; revision=338396
* Specify which BSD licence applies.Rene Ladan2013-12-151-1/+1
| | | | | | | Submitted by: make check-sanity Notes: svn path=/head/; revision=336561
* Update to 1.1.1Rene Ladan2013-12-152-4/+4
| | | | | | | | | | | | | | | | | | | | | Changes: dcf77pi: - Calculate century (modulo 400) from year, month, day of week, day of month - New parameter -S to set the system time - Improvements to DST handling - Set error state if day of month is too large, not just when greater than 31 readpin: - New parameter -t for readpin to adjust nanosleep() delay - Determine realfreq dynamically, do not use realfreq from config.txt general: - Documentation updates - Code cleanups Notes: svn path=/head/; revision=336539
* * Update to 1.1.0:Rene Ladan2013-12-033-12/+8
| | | | | | | | | | | | | | | | | | | - New algorithm to receive bits from the radio signal from an idea by Udo Klein, with permission [1] (configuration file changed) - Use two independent maximum values for 0 and 1 bits (configuration file changed) - New verbose display output - Weaken precondition for processing leap seconds and DST changes to not insist on correct values for parity bits and bit 0, 20, 17, 18 - README.md updated - Style and other minor fixes * Simplify PORTDOCS installation [1] http://blog.blinkenlight.net/experiments/dcf77/binary-clock/#comment-5916 Notes: svn path=/head/; revision=335593
* - Update to 1.0.5Rene Ladan2013-10-284-33/+11
| | | | | | | - Add a note to UPDATING about the changed and renamed configuration file. Notes: svn path=/head/; revision=331897
* Add staging support.Rene Ladan2013-09-282-4/+29
| | | | Notes: svn path=/head/; revision=328566
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | comms) Notes: svn path=/head/; revision=327714
* Update to 1.0.4 :Rene Ladan2013-09-102-4/+4
| | | | | | | | | | - better detection for bits in the radio signal - catch more corner cases in decoding of the time data The configuration file (hardware.txt) needs to be updated with this update. Notes: svn path=/head/; revision=326916
* Update to 1.0.3.1Rene Ladan2013-07-222-6/+5
| | | | | | | This release fixes installation of the configuration file. Notes: svn path=/head/; revision=323450
* Distfile was rerolled, bump PORTREVISIONRene Ladan2013-07-212-3/+4
| | | | Notes: svn path=/head/; revision=323403
* Update to 1.0.3Rene Ladan2013-07-212-9/+5
| | | | | | | No need to ignore on FreeBSD < 9.0, the software will disable GPIO itself. Notes: svn path=/head/; revision=323396
* Update to 1.0.2Rene Ladan2013-06-242-4/+4
| | | | Notes: svn path=/head/; revision=321672
* Yet another DCF77 decoder. This one is intended for the Raspberry PiRene Ladan2013-06-214-0/+50
platform but might work on other devices using GPIO pins too. The received data can be logged for later playback/analysis. WWW: https://github.com/rene0/dcf77pi Notes: svn path=/head/; revision=321506