Commit Graph

188 Commits

Author SHA1 Message Date
Michael Black W9MDB
10fbe9bd4a Change get_vfo_info to also return split
Since this is still a new call in 4.2 not considering this an API breakage
since it shouldn't be in common use yet
2021-03-01 14:56:21 -06:00
Michael Black W9MDB
ee60a68bec astyle files 2021-02-28 09:46:01 -06:00
Michael Black W9MDB
636d64d114 Fix compile warning try#2 in rigctl_parse.c 2021-02-18 07:11:03 -06:00
Michael Black W9MDB
bd2384e55e Fix compile warning in rigctl_parse.c 2021-02-18 07:04:21 -06:00
Michael Black W9MDB
64b0b37d49 Move comma correct to outer level to apply in both usage cases 2021-02-11 15:52:29 -06:00
Michael Black W9MDB
4f73d24666 Correct for commas in set_level values done by Java in international mode 2021-02-11 15:25:44 -06:00
Michael Black W9MDB
6ffbf168d0 Add get_vfo_list command so rigctl can see available vfos
Should allow Log4OM to query VFOB/Sub freq now
Another fix to argumenet prompting with rigctl/rigctld
Add 2nd line of return for rigerror -- we well gradually be improving error info
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 17:32:59 -06:00
Michael Black W9MDB
9251dfa909 FIx rigctl/rigctl parsing of extended commands and arg prompting
https://github.com/Hamlib/Hamlib/issues/530
2021-02-10 12:35:50 -06:00
Michael Black W9MDB
306345442c Fix 2nd argument parsing in rigctl_parse.c 2021-02-08 16:59:07 -06:00
Michael Black W9MDB
b3c23f82ef Fix extra VFO: print out when rigctl --vfo is used and VFO argument is given
https://github.com/Hamlib/Hamlib/issues/535
2021-02-08 10:42:24 -06:00
Michael Black W9MDB
418e963c86 Add \get_vfo_info to rigctl and rigctld to allow geting freq/mode/width by vfo in one call
Overcomes limitation of f command where vfo swapping is needed if not in --vfo mode
rig_get_vfo_info function added
Log4OM should be able to get VFOB frequency on most rigs
https://github.com/Hamlib/Hamlib/issues/530
2021-02-07 12:45:59 -06:00
Michael Black W9MDB
1d8a010493 Fix 2nd arg prompt for rigctl
https://github.com/Hamlib/Hamlib/issues/447
https://github.com/Hamlib/Hamlib/issues/339
2021-02-05 17:40:10 -06:00
Michael Black W9MDB
ca8ed30f8f astyle files 2021-01-09 10:13:17 -06:00
Michael Black W9MDB
0089964af7 Add some dumpcaps values to allow for set/get_freq and set/get_vfo functions
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 16:37:53 -06:00
Mikael Nousiainen
bb315270bf Merge branch 'master' into rotator-speed-control-and-status 2020-12-02 21:46:23 +02:00
Michael Black W9MDB
c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Mikael Nousiainen
a48f149955 Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress. 2020-11-24 21:51:10 +02:00
Michael Black W9MDB
a70e45413a Expand argument sizes for rigctl in order to accommodate Yaesu BS command reponse length
https://github.com/Hamlib/Hamlib/issues/424
2020-10-25 06:43:48 -05:00
Michael Black W9MDB
4e748df12b Add -x/--uplink switch for GPredict. Will avoid reading freq from the uplink VFO 1=Sub, 2=Main
This will likely deprecate the twiddle option
https://github.com/Hamlib/Hamlib/issues/404
2020-10-23 11:34:42 -05:00
Michael Black W9MDB
4c43689d6c Add wait_morse to rigctl_parse.c
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 14:22:42 -05:00
Michael Black W9MDB
f5e22acbaf Shorten wording on mw2power to clean up menu alignment 2020-10-18 12:28:15 -05:00
Michael Black W9MDB
5add4b343d Add rig_stop_morse to API and stop_morse command for rigctl
No rigs implemented yet
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 08:41:57 -05:00
Daniele Forsi
1e00e4e8db Fix typos
Command line:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor,objext,ans
2020-10-11 18:03:50 +02:00
Michael Black W9MDB
6d51f65528 astyle files 2020-10-06 23:14:27 -05:00
Michael Black W9MDB
fca4cc7903 Lots of changes to get Main/Sub recognized across rigctl/rigctld boundary
Needs lots of testing
https://github.com/Hamlib/Hamlib/issues/395
2020-10-06 21:50:37 +01:00
Michael Black W9MDB
293a844c41 Fix W command speed by using bytes requested correctly
read_string now recognizes binary strings to read 5X more bytes
Fixed Reply: prompt double output and space after :
https://github.com/Hamlib/Hamlib/issues/387
2020-10-02 17:23:48 -05:00
Michael Black W9MDB
119f5e6eb9 Remove itu_region from rigctl_paparse.c and replace with constant 0 -- it's not used at all by any rig 2020-07-24 12:57:33 -05:00
Daniele Forsi
d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB
0db3eafe66 Fix rigctl argument prompt for non-readline capable system
https://github.com/Hamlib/Hamlib/issues/339
2020-07-06 10:15:57 -05:00
Michael Black W9MDB
fa08887471 Change hamlib_cache_t enums to HAMLIB namespace 2020-07-02 10:23:41 -05:00
Michael Black W9MDB
f454cff0b7 Add check for -s switch on all utils to ensure integer is entered 2020-07-01 08:52:44 -05:00
Michael Black W9MDB
dfef8770cd Move chk_vfo_executed so it will work without readline support
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:21:22 -05:00
Michael Black W9MDB
1fa84652f4 Fix compatibility between 3.3 rigctl and 4.0 rigctld
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 11:12:15 -05:00
Michael Black W9MDB
055ac839c0 Add debug to rigctl_parse.c to show full command
https://github.com/Hamlib/Hamlib/issues/326
2020-06-23 10:14:10 -05:00
Michael Black W9MDB
1be5c71e76 More conversions to rig_flush
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:39:11 -05:00
Michael Black W9MDB
a3c4eb9ee0 Fix cppcheck warnings 2020-06-21 22:31:31 -05:00
Bill Somerville
d9ab62445c
Deal with remote PTT type at the client end
Remote   PTT   must   always    be   either   RIG_PTT_RIG_MICDATA   or
RIG_PTT_NONE. Also take care not to  override any locally set PTT type
as it is feasible  to use a local hardware PTT at  the client end with
remote  CAT control.   Maybe an  odd arrangement  but Hamlib  does not
preclude it.  This is all  done while  preserving the accuracy  of the
ptt_type value in dump_state requests.
2020-06-01 13:51:44 +01:00
Michael Black W9MDB
afeb77e6d2 rigctld will now return either PTT_NONE or PTT_RIG_MICDATA to rigctl client
https://github.com/Hamlib/Hamlib/issues/259
2020-05-31 22:33:56 -05:00
Michael Black W9MDB
9ecc14f897 Fix RIG_PTT_NONE detection from rigctl client by adding ptt_type to dumpcaps
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 16:59:36 -05:00
Michael Black W9MDB
ad4033dbfc reduce debug level in rigctl_parse.c 2020-05-29 07:54:30 -05:00
Michael Black W9MDB
986ca4896d Removed unsed var in rigctl_parse.c 2020-05-28 11:26:41 -05:00
Michael Black W9MDB
b8e315a526 Fix up rigctl_parse set_vfo_opt
https://github.com/Hamlib/Hamlib/issues/259
2020-05-27 23:44:18 -05:00
Michael Black W9MDB
677ccac4bc astyle files 2020-05-27 12:23:08 -05:00
Michael Black W9MDB
87a83ffbb1 rigctld now works with rigctl in vfo mode
https://github.com/Hamlib/Hamlib/issues/259
set_vfo_opt can now dynamically change vfo mode on rigctld
So this example now works...does some non-vfo stuff then switches to vfo mode
rigctl -m 2 F 14074000 V VFOB F 14076000 V VFOA f V VFOB f set_vfo_opt 1 f VFOA
rigctl commands v,V and S have been changed to not require VFO arguments
New API function rig_set_vfo_opt -- only implemented for Net rigctl as it doesn't apply to any other rigs
2020-05-27 12:21:41 -05:00
Michael Black W9MDB
796d71dddf Change vfo_mode to vfo_opt to distinguish it from rig mode 2020-05-26 12:01:44 -05:00
Michael Black W9MDB
823f97cf12 Some rigctld clients like Log4OM don't like the extra VFO argument being returned from the "f" command so we are removing it for now
https://github.com/Hamlib/Hamlib/issues/255Z
2020-05-20 09:39:43 -05:00
Michael Black W9MDB
545081c8d4 Fix rigctl/rigctld "V VFOA" protocol error
4.0 rigctld now works with 3.3 rigctl client and 4.0 rigctl client
https://github.com/Hamlib/Hamlib/issues/246
2020-05-15 14:17:59 -05:00
Michael Black W9MDB
ee5af14b13 Restore backwards compatibility of rigctld
Need to figure out how to make "F" command with VFO backwards compatible probably by dynamic detection of newer rigctld
https://github.com/Hamlib/Hamlib/issues/246
2020-05-13 17:44:17 -05:00
Michael Black W9MDB
0354f8b738 Ensure ptt defaults to 0 for rigctl 2020-05-13 07:22:46 -05:00
Michael Black W9MDB
d76de484a7 In rigctl_parse.c change default YAESU to be non-binary for 'w' command
https://github.com/Hamlib/Hamlib/issues/239
2020-05-12 08:33:36 -05:00