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
Michael Black W9MDB
74cdd96eda
Fix merge of icom.c
2020-05-11 18:05:11 -05:00
mdblack98
067f95dda8
Fix rigctl w command with semicolon ending
...
https://github.com/Hamlib/Hamlib/issues/239
2020-05-06 17:45:02 -05:00
mdblack98
e9ffb2991d
Fix rigctl interactive prompt
2020-05-06 08:54:34 -05:00
mdblack98
8ad431a344
Change #warn on get_channel to RIG_ENIMPL errors
...
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98
9b96c24ff1
Add some debug to rigctl_parse.c
2020-05-03 17:07:22 -05:00
mdblack98
9e710156e3
Add ability for rigctld client to turn vfo mode on/off with (,)
...
https://github.com/Hamlib/Hamlib/issues/232
Add caching of some limited rig information
Can be adjusted or turned off with rig_cache_set_timeout_ms or in rigctl with \set_cache_timeout
https://github.com/Hamlib/Hamlib/issues/228
2020-05-01 12:03:54 -05:00
mdblack98
81c21ee314
Reduce debug info in rigctl_parse.c and rigctld.c
2020-04-30 16:52:11 -05:00
mdblack98
4cac924a3e
Remove command not found for space in rigctl_parse.c
2020-04-27 11:29:03 -05:00
mdblack98
5eb5b6f3d8
https://github.com/Hamlib/Hamlib/issues/227
...
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
mdblack98
7dcb0ae88e
astyle updates
2020-04-25 11:28:38 -05:00
mdblack98
ce2502e2f6
Change rigctl_parse.c debug to only use printable chars
2020-04-23 17:35:50 -05:00
mdblack98
9bf214fee3
Add debug to rigctl_parse.c chasing down Flex problem
2020-04-23 10:25:47 -05:00
mdblack98
3feaddfd73
Still working on Flex problem...
...
Adding debug to figure out why vfo_mode doesn't work with rigctl/rigctld
2020-04-22 11:47:56 -05:00
mdblack98
cae85c6dbe
Improve debugstatement in rigctl_parse.c
2020-04-21 12:52:40 -05:00
mdblack98
1aef1c6285
Let rigctl_parse return when EOF is detected
2020-04-21 10:34:42 -05:00
Michael Black W9MDB
9b040dc0d8
Add debug to rigctld...chasing down Flex bug
2020-04-20 17:26:57 -05:00
Michael Black
32082a14d6
Add debug to rigctl_parse.c chasing down Flex bug
2020-04-19 12:08:08 -05:00
Michael Black
774cb9d25c
More testing on Flex problem allow rigctld to continue executing
2020-04-15 12:28:42 -05:00
Michael Black
819be74317
Testing continuation of rigctld when nothing to scan
2020-04-15 11:55:07 -05:00
Michael Black
32a8ba45ae
Allow empty line for noninteractive rigctld
2020-04-15 11:33:09 -05:00
Michael Black
9f3fbc07fd
Add debug to rigctl_parse.c
2020-04-15 09:57:08 -05:00
Michael Black
ba8f56dfbb
Change sync_cb to encompass the entire transaction
...
Testing to see if the fixes the problem with Flex rigs
2020-04-15 09:37:22 -05:00
Michael Black
36ce07639b
Fix 32-bit compilation on Raspian
2020-04-05 14:37:19 -05:00
Michael Black
643be3ccbe
Fix rigctl_parse.c compile warning
2020-04-05 07:07:18 -05:00
Michael Black
c48a28a98d
Add comment to rigctl_parse.c
2020-04-04 15:49:26 -05:00
Michael Black
6a2e675216
Added new protocol 1 for dumpcaps with vfo_ops as the first one implemented
...
Protocol 1 is setting=value. Order does not matter. Can be multiline.
And is forward compatible as new values will just generate warnings on older versions
2020-04-04 09:38:50 -05:00
Michael Black
ae45740da8
Fix rigctl pause command
2020-04-03 13:01:22 -05:00
Michael Black
aa7e822d98
cppcheck-suppress rigctl_parse.c
2020-03-24 10:00:22 -05:00
Michael Black
bda5feb1bd
More cppcheck changes
2020-03-23 10:13:02 -05:00