Mike Black W9MDB
53b67d24ec
Fix Startup information in rigctl and rigctld
2021-08-29 23:32:29 -05:00
Mike Black W9MDB
1b52a009ef
Move Startup debug line after set_debug_level
2021-08-28 09:10:35 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Lorenzo Santina
e48e16beb0
Fixed rigctl ignore error command line
2021-07-26 01:40:34 +02:00
Mike Black W9MDB
75687ea273
Show startup arguments for rigctl and rigctld
2021-06-28 10:11:29 -05:00
Mike Black W9MDB
fabec4a94c
Improve rig_open error msg in rigctl.c and rigctld.c
2021-05-30 06:48:12 -05:00
Mike Black W9MDB
ffeb98a0da
Add cookie_use param to rigctl
...
https://github.com/Hamlib/Hamlib/issues/695
2021-05-25 09:18:20 -05:00
Mike Black W9MDB
81e3e2e5d2
astyle files
2021-04-29 17:23:37 -05:00
Mike Black W9MDB
9231c2f7e5
Some more change to bring rigctld dump_caps into line with rigctl dump_caps
...
https://github.com/Hamlib/Hamlib/issues/659
2021-04-24 08:47:01 -05:00
Mike Black W9MDB
778758200e
A more robust rigctld that can survive the rig disappearing and coming back again.
...
This means when a rigctld client sees RIG_EIO it can keep polling and will reconnect when the rig reappears.
2021-04-10 14:22:53 -05:00
Mike Black W9MDB
758e9bc3a7
Use different method to detect rigctld port being offline
2021-04-10 11:07:10 -05:00
Mike Black W9MDB
601f0ab1f1
Allow rigctl to reopen port if it has been closed
2021-04-10 10:43:49 -05:00
Michael Black W9MDB
6eee309b56
Improve rig_get_version and hamlib_version2 information to include commit information
...
https://github.com/Hamlib/Hamlib/issues/617
2021-03-19 22:56:18 -05:00
Mikael Nousiainen
90112b5769
First attempt at fixing rigctl_parse return values and unnecessary rig re-open cycles
2021-03-16 23:39:35 +02:00
Michael Black W9MDB
1fcb9404b9
More changes to support macro renaming
2021-03-06 14:59:57 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
0aec4d8bea
rigctl now aborts after 3 retries to open the rig again
...
https://github.com/Hamlib/Hamlib/issues/560
2021-02-22 23:13:29 -06:00
Michael Black W9MDB
620c97fe12
Remove debug from rigctl.c
2021-01-28 14:35:53 -06:00
Michael Black W9MDB
c717bb5d76
Improve -V version info
2021-01-25 22:24:57 -06:00
Michael Black W9MDB
2be172ac4e
Improve robustness of rigctld
...
Now retries opening indefinitely
Improved client side too
Error message should now show timeout if rig disappears
2021-01-24 10:51:19 -06:00
Bill Somerville
f38ee5c6f1
Ensure old hamlibdatetime.h headers in the source dir are ignored
2020-10-17 02:31:17 +01:00
Michael Black W9MDB
0e44e2f317
Move dummy to rigs directory
...
Remove unneeded references to dummy
2020-10-05 09:58:20 -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
542e227f85
Remove retries for rigctl.c rig_open as they were never used and didn't work
2020-06-19 06:55:56 -05:00
Michael Black W9MDB
4a24f63f0f
Undo readline change
2020-06-05 23:48:09 -05:00
Michael Black W9MDB
30d0335983
Fix rl_readline_name in rigctl.c
2020-06-05 23:40:52 -05:00
Michael Black W9MDB
b1f04aed62
Change fprintf to rig_debug in rigctl.c
2020-05-29 07:56:24 -05:00
Michael Black W9MDB
443bc142a7
Streamline vfo_opt detectionin rigctl.c
2020-05-27 23:43:29 -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
07f1417881
Change vfo_mode to vfo_opt to distinguish it from rig mode
2020-05-26 11:59:50 -05:00
Michael Black W9MDB
fb68d9f561
Add better version info to utilities
2020-05-23 10:58:25 -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
Michael Black
9a49167b69
Update long command for -Y rigctl option and man page
2020-04-05 23:35:20 -05:00
Michael Black
20d5209e3b
Add -Y option to rigctl to ignore rig open error...good for testing rig commands on rigs you don't have
2020-04-05 23:29:47 -05:00
Michael Black
ee87d5e6df
Fix buffer overrun in all utilities
...
Change MAXCONFLEN to 1024 bytes for some future proofing
2020-04-01 14:51:50 -05:00
Michael Black
bda5feb1bd
More cppcheck changes
2020-03-23 10:13:02 -05:00
Michael Black
35fffc4f38
astyle files
2020-03-15 15:32:46 -05:00
Michael Black
39ba535c77
Add Date/Time to rigctl version
2020-03-15 09:50:03 -05:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Bill Somerville
376b328ecb
Report unrecognised PTT and DCD types in rigctl and rigctld
2020-01-26 11:31:40 +00:00
Michael Black
d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed)
2020-01-21 17:53:12 -06:00
Michael Black
5646eb3fe4
Move hist_dir_stat
2020-01-15 15:58:04 -06:00
Michael Black
4be4b7033b
Clean up HAVE_LIBREADLINE mods
2020-01-15 07:04:40 -06:00
Michael Black
7ee3a702f5
Replace all usleep with hl_usleep
...
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Michael Black
fb51f4f902
Fix compile warnings in rigctl.c and rigctl_parse.c
2020-01-03 12:18:27 -06:00
Michael Black
4e5e533248
Fix cppcheck warnings
2019-12-24 15:48:36 -06:00
Michael Black
00d578074e
Remove Recommend statment from rigctl.c
2019-12-19 09:38:50 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
e56db8c985
Fix cppcheck warnings in rigctl.c
2019-12-08 23:33:51 -06:00
Michael Black
5a9ab0b76d
Add retry to rigctl open
2019-12-03 08:22:35 -06:00