mirror of
https://github.com/ok2cqr/cqrlog.git
synced 2024-09-21 10:27:17 +00:00
3130939fce
This fix tries to solve issue #438 and some other minor problems. New wsjtx program needs rigctld starting parameter "--vfo" to work properly with split/Rig mode. At the moment parameter "--vfo" is optional, but it may be added as hardcoded default in Hamlib version 5.0 Parameter "--vfo" usage causes change to almost all rigctld commands needing the vfo to be stated always as first paramater of command. I.E. command "f" must be issued as "f currVFO". Other possibilites instead of currVFO are VFOA, VFOB etc. depending on used rig model. There is a command \chk_vfo that can be used to clear out has rigctld started with "--vfo" paramater or not. Unfortunately there are variants in the way how different rigctlds answer to this command. And even the rigctld man pages give wrong information about the answer format. And not only that, but the versions of Hamlib do have differences in command "v" format when "--vfo" is used. This fix can understand the current format (Hamlib 4.4) and on the other hand it also detects different format that Hamlib 3.1 used. I did not have versions between 3.1 and 4.4. to test with. Because all of this it may be that this fix needs readjust if they again change Hamlib way of hanlding commands. - rigctld connection tries to resolve if "--vfo" issued or not as first thing. - changes command format by the result of \chk_vfo. This check and it's results can be turned of with TRXControl checkbox "Use chkvfo" (default checked). - all commands are now prefixed with plus "f" -> "+f" to make answer decoding lot more easier. Plus prefix is there always not depending on "Use \chkvfo" state. With "+" prefix answers always have line that starts with asked word and colon followed by value "FREQUENY: 3500000" that is easy to detect then. - fixed vfo detect to resolve also answers "Main,MainA,MainB,Sub,SubA,SubB,None" that may be result for "v" command with some rigs. - disabled "Run rigctld when program starts" checkbox if rig "Hamlib Net Rigtcld" is selected. There is no need to start rigctld as that "rig" means we are trying to access already running rigctld via TCP. Usually trying to start rigctld by cqrlog leads to debug message "Rigtld failed to start" in that case. - same with "Run rotctld when program starts" if rotor is "Hamlib Net Rotctld" - cleaned lot of code in preferences related to rig and rot settings change - fixed synapse httpsend user agent string. String with "Synacode" causes now web bot fitering in www.hamqsl.com's server that disables Propagation to work. It may be that in future this user agent string must be user defineable, if bot filtering "learns" this new agent string too fast. - fixed help files Squashed commit of the following: commit 373420098a222697c4efa586c0b62dfc450bd75d Author: OH1KH <oh1kh@sral.fi> Date: Sat Oct 2 17:12:33 2021 +0300 Fixed help files commit3c17db9c72
Author: OH1KH <oh1kh@sral.fi> Date: Sat Oct 2 16:32:58 2021 +0300 Disabled "Run rigctld when program starts" if rig model is #2 Hamlib Net rigtcl. There is no mind running it in that case. Cleaned up lot of code that refelcts to rig or rot settings change commit6bd6274a4b
Author: OH1KH <oh1kh@sral.fi> Date: Sat Oct 2 09:25:01 2021 +0300 Rewrite whole communication to use "+" prefix with commands. This makes received information sorting lot more easier. Added counter (10) to set frequency 0 (zero) if no reply from rig. commitfdc209477d
Author: OH1KH <oh1kh@sral.fi> Date: Sat Oct 2 07:59:51 2021 +0300 Changed hardcoded parameter "currVFO" to variable. Changed TRXControl vfo buttons cloring drive to radio.getcurrvfo works, but not with icoms that can not answer get_vfo command. commitdd1bd7411e
Author: OH1KH <oh1kh@sral.fi> Date: Fri Oct 1 08:08:08 2021 +0300 Added Main,Sub,MainA,MainB,SubA,SubB,None support to detect vfo. Without those the non VFOA or VFOB name ended to be mode name. Fixed user agent in synapse httpsend because bot detect firewall at hamqsl.com blocked user agent "synapse". Now sends Mozilla/4.0 (X11; Linux x86_64) that is agent string in normal browser. commitfd3a06d769
Author: OH1KH <oh1kh@sral.fi> Date: Wed Sep 29 11:06:20 2021 +0300 Added checkbox to disable \chk_vfo in case of needed commit68dcc3cd84
Author: OH1KH <oh1kh@sral.fi> Date: Thu Sep 23 19:01:14 2021 +0300 This looks like working, but there is still Hamlib bug with icom. Fix may need to change this commitbff1a6e145
Merge:d76d4c8
9d48c83
Author: OH1KH <oh1kh@sral.fi> Date: Wed Sep 22 17:30:13 2021 +0300 Merge branch 'master' into hamlib_vfo commitd76d4c8a99
Author: OH1KH <oh1kh@sral.fi> Date: Mon Sep 20 18:34:18 2021 +0300 setting commands by vfo. And found error from rigctld (again) commit764cb76dcb
Author: OH1KH <oh1kh@sral.fi> Date: Sat Sep 18 10:16:14 2021 +0300 added vfostr commit72c143e5e1
Author: OH1KH <oh1kh@sral.fi> Date: Mon Sep 13 16:20:44 2021 +0300 init check and poll timer works
118 KiB
962x706px
118 KiB
962x706px