foldynl / QLog

Amateur radio logbook software
GNU General Public License v3.0
109 stars 15 forks source link

Morse over CAT (Hamlib): CW message is sent only the first n-character #338

Closed foldynl closed 1 month ago

foldynl commented 3 months ago

due to Hamlib implementation, the CW message send via Morse over CAT can be truncated. QLog should be prepare to sent a message chunks.

Only Rigs connected via Hamlib are impacted. It has not impact on TCI-connected rigs.

foldynl commented 2 months ago

For the Hamlib backend, it remains an unsolved problem. I have tested cases where the message is divided into words and other units. It can be fine-tuned for specific rigs, but each rig implements send_morse differently. Therefore, at the moment, I do not see the possibility of generically implementing sending CW messages together with the ability to stop them after a few letters. The inability to stop the sending is caused by the fact that Hamlib does not provide the capability to determine which letters have already been sent. Consequently, QLog must send the entire text (message parts) as a whole, which results in blocking the Rig thread for an extended period solely due to sending divided messages.

It is necessary to describe in the wiki that there is a limit to the length of the message in the Hamlib backend, which may vary from rig to rig.