Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
529685ab69
Disable rigctld error check with rig_close/rig_open -- more investigation needed
...
https://github.com/Hamlib/Hamlib/issues/556
2021-02-20 10:24:08 -06:00
Michael Black W9MDB
185a938a76
Add twiddle_timeout and twiddle_rit --set-conf options
...
rigctld --set-conf=twiddle_timeout=5,twiddle_rit=1
This will set the twiddle timeout to 5 seconds and turn on twiddle_rit
For twiddle timeout VFOB will not be poller for 5 seconds after VFO twiddling is detected. For RIT VFOB get_freq is suppressed and returns the cached value only (set_freq on VFOB still works).
rigctld --twiddle is deprecated and will be removed in 5.0
https://github.com/Hamlib/Hamlib/issues/444
2021-02-18 11:15:02 -06:00
Michael Black W9MDB
06723c959b
Limit the error retry in rigctld.c to 4 times
...
https://github.com/Hamlib/Hamlib/issues/551
2021-02-18 06:48:06 -06:00
Michael Black W9MDB
c717bb5d76
Improve -V version info
2021-01-25 22:24:57 -06:00
Michael Black W9MDB
1b89407a8d
Fix compilation of rigctld.c on mingw
2021-01-24 17:19:58 -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
Michael Black W9MDB
948e9d5f99
astyle files
2020-10-23 11:36:42 -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
d4e1e91272
Fix rigctl -W and --twiddle_timeout
2020-10-22 16:04:53 -05:00
Michael Black W9MDB
f52007d02d
Fix twiddle short command
2020-10-20 16:20:05 -05: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
275db971cd
Remove sleep on rigctld EOF -- don't think it's really needed
...
https://github.com/Hamlib/Hamlib/issues/366
2020-09-07 08:53:39 -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
ac1f990474
Remove AI_CANONNAME from rigctld.c
...
Didn't work with simple "rigctld" and no -T
https://github.com/Hamlib/Hamlib/issues/298
2020-06-22 09:52:08 -05:00
Michael Black W9MDB
a3c4eb9ee0
Fix cppcheck warnings
2020-06-21 22:31:31 -05:00
Michael Black W9MDB
e092a4a0a4
rigctld -T ::1 now works with rigctl -r ::1
...
More IPV6 testing needed on Windows and MacOS
Still not binding to link local addresses to be addressed next
https://github.com/Hamlib/Hamlib/issues/29
2020-06-21 17:47:04 -05: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
1dc461966d
Fix rigctld ptt_type to correctly reflect DTR/RTS
...
Might need to do this with some other values too
github.com/Hamlib/Hamlib/issues/270
2020-05-31 16:42:56 -05:00
Michael Black W9MDB
ff4882f1cd
Remove debug from rigctld.c
2020-05-30 11:13:40 -05:00
Michael Black W9MDB
19263cb249
Add last commit info to rigctld.c
2020-05-28 11:14:48 -05:00
mdblack98
8c73836b48
Fix cppcheck warnings in rigctld.c
2020-05-05 09:29:30 -05:00
mdblack98
bf1a05084d
astyle files
2020-05-03 17:24:42 -05:00
mdblack98
0bd52c259d
Add a bit more debug to rigctld.c
2020-05-03 17:06:34 -05:00
mdblack98
2fcecd7d7f
Remove debug from rigctld.c
2020-05-02 07:42:09 -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
b75a29f795
Fix braces in rigctld.c
2020-04-22 12:37:56 -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
cefa092350
Change rigctld main loop to continue on EOF
2020-04-21 11:31:22 -05:00
mdblack98
1aef1c6285
Let rigctl_parse return when EOF is detected
2020-04-21 10:34:42 -05:00
Michael Black W9MDB
ff79dc800c
Adding debug to chase down Flex problem disconnect on profile change
2020-04-21 07:51: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
6d9c81cf6a
A couple minor edit changes
2020-03-17 22:54:29 -05:00
Michael Black
7f9bbde383
Improve vfo switch message a bit
2020-03-16 14:23:40 -05:00
Michael Black
4150f12f36
Suppress unimportant error in rigctld.c
2020-03-15 16:31:19 -05:00
Michael Black
33babeaeff
Fix rigctdl multiple connections
2020-03-15 16:19:43 -05:00
Michael Black
35fffc4f38
astyle files
2020-03-15 15:32:46 -05:00
Michael Black
e4058156b1
Change rigctld to keep the rig open all the time
...
When a single client connects/disconnecta/connects it takes a bit too long to open the rig sometimes
2020-03-12 12:06:06 -05:00
Michael Black
18cc118443
Change -W switch to -X
2020-02-24 22:56:18 -06:00
Michael Black
8b462a0242
Add set_twiddle and get_twiddle functions
...
Add -W switch to rigctld to set twiddle timeout..don't need switch for rigctl since it can set from there with \set_twiddle
2020-02-24 09:34:02 -06:00
Bill Somerville
376b328ecb
Report unrecognised PTT and DCD types in rigctl and rigctld
2020-01-26 11:31:40 +00:00
Bill Somerville
99e1948cd3
Made PTT and DCD options consistent between rigctl and rigctld
2020-01-26 10:46:57 +00:00
Michael Black
c8eaf13a3d
Readding rigctld.c accidental removal
2019-12-25 07:58:19 -06:00
Michael Black
4e5e533248
Fix cppcheck warnings
2019-12-24 15:48:36 -06:00
Michael Black
a401d3ac78
Fix memory leak in rigctld and cleanup debug
2019-12-20 11:22:09 -06:00
Michael Black
1dbd633d5a
Missed semicolon
2019-12-19 18:05:23 -06:00
Michael Black
2703423b72
Think I got the fd socket leak on windows fixed now
2019-12-19 18:03:02 -06:00