dcf77pi
dcf77pi copied to clipboard
Yet another DCF77 decoder. This one is intended for the Raspberry Pi platform but might work on other devices using GPIO pins too.
sysfs has been deprecated since Linux 4.8, replace the existing sysfs code to interface with GPIO in the Linux version with chardev.
UDP stream for raw radio signal, once #4 is done. What about security/bandwidth? Configurable port number (default 50077?)
Investigate if it would make sense to use autotools, this seems best supported on *BSD/Linux/Cygwin. Another option would be cmake. Probably best to compare side-by-side with autotools.
When an official HKW 581 chip is connected to the receiver, it is technically possible to decode Meteotime transmissions sent in bits 1-14. Since this is (partly) patented, figure out...
The process_input and post_process_input callbacks for example are probably better implemented as a separate thread instead of as callbacks. This also cleans up the library a bit. Check other nullable...
Replace Cygwin with native Windows code, if not too much work. Requires a copy of Windows and a copy of Visual Studio.
Add unit tests for all functions in libdcf77. Perhaps if a test is difficult to write/run, the corresponding function needs to be refactored. Testing the GPIO pin reading needs some...
There is work in progress code, test it on both FreeBSD and Linux. Use a sane API (signal() is weird/cumbersome).
Once #7 is done. Android client which receives the raw bitstream from the UDP port. libdcf77 as native client or duplicate in Java? Latter us more portable and takes advantage...