Wykres commitów

122 Commity (d857f181635059fd6c227f758cffd0707f26ffe5)

Autor SHA1 Wiadomość Data
Mikael Nousiainen d857f18163 Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far. 2021-11-28 20:52:29 +02:00
Mike Black W9MDB 12f7bb4d8f Change getnameinfo to return numeric IP instead of hostname to avoid Windows long delay on reverse lookups
https://github.com/Hamlib/Hamlib/issues/873
2021-11-20 11:52:39 -06:00
Mike Black W9MDB 9671a26858 Add mutex back to rigctld. Migrating to mutext locks on all rig functions
https://github.com/Hamlib/Hamlib/issues/695
2021-09-21 23:30:45 -05:00
Mike Black W9MDB 53b67d24ec Fix Startup information in rigctl and rigctld 2021-08-29 23:32:29 -05:00
Mike Black W9MDB 9f0d5951cb Move Startup message after debug_set_level in rigctld.c 2021-08-28 09:53:19 -05:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Mike Black W9MDB 5cab1acc0d In rigctld do not try to close fsockin/fsockout when null -- happens during error on fsockin or fsockout
https://github.com/Hamlib/Hamlib/issues/757
2021-08-05 07:50:15 -05:00
Mike Black W9MDB 75687ea273 Show startup arguments for rigctl and rigctld 2021-06-28 10:11:29 -05:00
Mike Black W9MDB dd2ed945fd Change default multicast to 0.0.0.0 for now until implemented and tested
https://github.com/Hamlib/Hamlib/issues/695
2021-06-21 16:52:27 -05:00
Michael Black c4e6ed39e6
Merge pull request #715 from mikaelnousiainen/fix-icom-transceive-and-spectrum-data-conflicts
Attempt to handle asynchronous rig output data in Icom backend
2021-05-31 08:31:42 -05:00
Mikael Nousiainen 3a67356bc1 Add some comments and improved debugging on SIGIO async data handling 2021-05-31 16:22:22 +03: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 3e4ff69b96 Add multicast_item_e and change multicast_server API
https://github.com/Hamlib/Hamlib/issues/695
2021-05-23 07:40:08 -05:00
Mike Black W9MDB cc1f277e5f Beginning of multicast capability
https://github.com/Hamlib/Hamlib/issues/695
2021-05-19 13:17:46 -05:00
Mike Black W9MDB fdf1f7f6f0 Fix newline in help in rigctld.c 2021-05-17 00:05:16 -05:00
Mike Black W9MDB 9902ec796c Reduce rigctld verbosity when using direct commands from rigctl client
https://github.com/Hamlib/Hamlib/issues/690
2021-05-09 15:16:23 -05:00
Mike Black W9MDB 974d978eaa Eliminate debug msg from rigctld.c 2021-04-12 08:33:58 -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 6901bb1cda Remove vfo_mode printout 2021-04-09 15:16:41 -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 94e51bfa24 rigctld.c add retry of rig_open with an IO error
https://github.com/Hamlib/Hamlib/issues/560
2021-03-07 09:03:37 -06:00
Michael Black W9MDB 1fcb9404b9 More changes to support macro renaming 2021-03-06 14:59:57 -06:00
Michael Black W9MDB f88c3f4a4c Fix mingw compilation errors on new rig_debug macro 2021-03-05 12:03:40 -06:00
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