cwdaemon - main page


cwdaemon is a small daemon which uses the pc parallel or serial port and a simple transistor switch to output morse code to a transmitter from a text message sent to it via udp port 6789. The program also uses the soundcard or PC speaker (console buzzer) to generate a sidetone.

Current version of cwdaemon is 0.10.2, it has been released in October 2015. It is strongly recommended to use this version of cwdaemon with libcw 6.5.1 from unixcw 3.5.0.

Up until version 0.9.4 this software has been developed and maintained by Joop Stakenborg. Currently the software is being developed by Kamil Ignacak.

cwdaemon is developed and tested mainly on GNU/Linux system.


2015.10.07 - release of cwdaemon 0.10.2

Changes since previous release:

  • Copying the repository to github will be now the new home of cwdaemon.
  • Testing cwdaemon against libcw 6.5.1 from unixcw 3.5.0.
  • Compiling and testing on following platforms:
    • Debian GNU/Linux 8 jessie/sid, x86_64, gcc 4.9.2;
    • Alpine Linux 3.1, x86_64, gcc 4.8.3, musl 1.1.5;
    • FreeBSD 10.0, x86_64, clang 3.3;
  • Fixing compilation error found during tests on Alpine Linux.
  • Improving test sets (test/ directory).
  • Improving examples of interfacing cwdaemon (examples/ directory).

2014.04.23 - release of cwdaemon 0.10.1

Changes since previous release:

  • Fixing bug #1 reported by Pino Zollo ZP4KFX: cwdaemon failed to properly respond to <ESC>f Escape request. Attempting to change sound system used by cwdaemon caused the program to completely go silent and to not to send replies.
  • Fixing bug #2 also reported by Pino Zollo ZP4KFX: cwdaemon has been sending replies too early, sometimes right after starting to play Morse characters (i.e. not waiting for end of playing the characters). This problem has been fixed by changes in cwdaemon source code, as well as by changes in unixcw/libcw source code (this is why you should use libcw version 6.1.1).
  • Fixing bug #3 also reported by Pino Zollo ZP4KFX: description of escaped request for word mode in man page has been incorrect (wrong code of request). This has been fixed.
  • Fixing bug #4, this one discovered by me: cwdaemon failed to correctly close network socket at exit. This has been fixed.

Many thanks to Pino Zollo ZP4KFX for reporting bugs in cwdaemon 0.10.0 and taking time to test fixes.

2014.01.15 - release of cwdaemon 0.10.0

Changes since previous release:

  • Empty name of keying device sent with "8" network request shouldn't cause cwdaemon to crash anymore. Handling of empty/invalid keying device name has been improved.
  • Until now if cwdaemon was called with invalid / unsupported / non-available sound system, it could start with misconfigured sound system. Now cwdaemon exits when it cannot open a sound system during start.
  • When cwdaemon receives "switch to sound system X" network request, and it fails to correctly switch to the sound system, it falls back to "Null" audio system. The fall back eliminates possibility of crashing on attempt to use uninitialized sound system.
  • Handling of "ptt delay" parameter has changed. Until now when value sent in network request was negative, the delay has been set to MAX. Now the negative value sent with network request is ignored. When the negative value has been passed through command line argument, cwdaemon exits.
  • Debug strings can be now printed to stdout (default, was already available), stderr, or disc file. Check -f / --debugfile command line option for more information.
  • Verbosity level of debug messages can be controlled with command line options.
  • cwdaemon now accepts --long-options on systems that support this functionality.
  • Help text printed when calling cwdaemon with "-h" command line argument has been expanded.
  • Man page for cwdaemon has been expanded.

Older news

More information

cwdaemon is a free software, released under GNU General Public License v2.0.

The latest code is available at github.

Older information is available on SourceForge project page.

You can contact with current developer and maintainer of this software using this e-mail address: acerion at wp dot pl.