cqrlog/help
OH1KH 3130939fce Fix for hamlib interface
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

commit 3c17db9c72
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

commit 6bd6274a4b
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.

commit fdc209477d
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.

commit dd1bd7411e
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.

commit fd3a06d769
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Sep 29 11:06:20 2021 +0300

    Added checkbox to disable \chk_vfo in case of needed

commit 68dcc3cd84
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

commit bff1a6e145
Merge: d76d4c8 9d48c83
Author: OH1KH <oh1kh@sral.fi>
Date:   Wed Sep 22 17:30:13 2021 +0300

    Merge branch 'master' into hamlib_vfo

commit d76d4c8a99
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Sep 20 18:34:18 2021 +0300

    setting commands by vfo. And found error from rigctld (again)

commit 764cb76dcb
Author: OH1KH <oh1kh@sral.fi>
Date:   Sat Sep 18 10:16:14 2021 +0300

    added vfostr

commit 72c143e5e1
Author: OH1KH <oh1kh@sral.fi>
Date:   Mon Sep 13 16:20:44 2021 +0300

    init check and poll timer works
2021-10-04 06:23:03 +03:00
..
img Fix for hamlib interface 2021-10-04 06:23:03 +03:00
adif.html Fix, cleanup and addition to ADIF remote 2020-12-31 10:33:20 +02:00
callbook.html Documentation fixes 2020-12-14 11:29:06 +02:00
contest.html Small fixes 2021-06-28 17:21:52 +03:00
cwd.html Documentation fixes 2020-12-14 11:29:06 +02:00
cwh.html Documentation fixes 2020-12-14 11:29:06 +02:00
fldxml.html Documentation fixes 2020-12-14 11:29:06 +02:00
gridmap.html Documentation fixes 2020-12-14 11:29:06 +02:00
h1.html Fix for hamlib interface 2021-10-04 06:23:03 +03:00
h3.html Fixes to adif import 2021-07-07 11:56:37 +03:00
h4.html Documentation fixes 2020-12-14 11:29:06 +02:00
h5.html Documentation fixes 2020-12-14 11:29:06 +02:00
h6.html Documentation fixes 2020-12-14 11:29:06 +02:00
h7.html Documentation fixes 2020-12-14 11:29:06 +02:00
h8.html Documentation fixes 2020-12-14 11:29:06 +02:00
h20.html Documentation fixes 2020-12-14 11:29:06 +02:00
h21.html Documentation fixes 2020-12-14 11:29:06 +02:00
h22.html Optionally export all fields (unselected items as empty) 2021-03-22 23:02:06 +01:00
h23.html Documentation fixes 2020-12-14 11:29:06 +02:00
h24.html Documentation fixes 2020-12-14 11:29:06 +02:00
h25.html Documentation fixes 2020-12-14 11:29:06 +02:00
h26.html Save/Load to CW messages … 2021-02-08 16:39:37 +02:00
h27.html Documentation fixes 2020-12-14 11:29:06 +02:00
h28.html Documentation fixes 2020-12-14 11:29:06 +02:00
h29.html Documentation fixes 2020-12-14 11:29:06 +02:00
h30.html Documentation fixes 2020-12-14 11:29:06 +02:00
h31.html Documentation fixes 2020-12-14 11:29:06 +02:00
index_left.html Start cqrlog and enter remote mode 2021-08-10 09:33:44 +03:00
index_right.html Documentation fixes 2020-12-14 11:29:06 +02:00
index.html Locator in standard format: 2019-10-03 13:14:17 +03:00
remi.html Documentation fixes 2020-12-14 11:29:06 +02:00
sql_console.html help updated 2016-04-18 18:52:11 +02:00
wkdgrid.html dUtils:bandToFrequency->630M missing. Updated some help files 2017-11-04 11:16:52 +02:00
wkusb.html Documentation fixes 2020-12-14 11:29:06 +02:00
wsjt.html Wsjtx added only DX selection 2021-02-28 10:49:46 +02:00