from NO3M:

Attached patch adds MicroHam Control Protocol for RX/TX and stereo
switching, user configured in radio dialogue.  Max, DJ5QV, added a
Microham control channel to mhuxd.  Untested with native MicroHam
Router software in Windows, but theoretically should work.  This
solved a TX switching problem I have been having, likely attributable
to flakey behavior in the MK2R when using "classic" LPT switching.
Sometimes TX focus in the hardware would not follow software.  Now
that TX switching is solid on my hardware, I do notice a few places
where there is some hysteresis, so I'll look into that soon.  Probably
a reset-set sequence somewhere.

Also added a check for contest object being valid before calling
updateRate() in the event timer (latest commit).  If no contest was
loaded before updateRate() was called, so2sdr would segfault (usually
about 45-55 seconds after starting program).