[Hamlib-developer] Patch to M2 rotor
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Alberto B. <al...@bu...> - 2023-01-28 13:59:58
|
Hello, I wrote the attached patch for the M2 rotor, to be applied to the file rotors/m2/rc2800.c (based on hamlib 4.5.4). It covers few things: - my control-box uses CR+LF eol (it's an old model, I think, and I could not get the updated PIC from M2). It was OK up to hamlib 3.3, but not anymore from 4.0. The way I implemented should work with any kind of eol (CR, LF or CR+LF - even if I do not expect to see and LF alone) - there was a missing '.' in the azimuth set position command, ending up with all decimal places in the command - the set position commands for the EARLY_AZEL rotors was not OK since it was sending the A command with the new protocol while the E command in the old protocol (the A command with old protocol was implemented for the ROT_MODEL_RC2800_EARLY_AZ model only). - the get position command for the EARLY_AZEL rotors was not getting the elevation reading (the E command was implemented for the ROT_MODEL_RC2800 only). I hope you can consider this. I sent a similar patch to Debian maintainer group, to have it also included in the Hamilb 4.0-7 which is distributed now in Debian 11.6. This is the Debian version that support Satnogs SW and which I am using at my G/S, so I cannot upgrade to the latest one. Alberto - iw1fnw |