Wykres commitów

1737 Commity (5541deb8125632ece6f3274202e1a2a116605684)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 4ae3519c4e Revert "Allow generic_read_string to terminate on expected_len"
This reverts commit 00b6e0ecd7.
2023-05-27 15:13:22 -05:00
Mike Black W9MDB 08abfbe19a Revert "Fix read_string_generic to only use expected_len when expected_len == 0"
This reverts commit 9b748bdb2e.
2023-05-27 15:11:40 -05:00
Mike Black W9MDB 9b748bdb2e Fix read_string_generic to only use expected_len when expected_len == 0
00b6e0ecd7 (commitcomment-115297173)
2023-05-27 14:58:07 -05:00
Mike Black W9MDB 3b45dfa4b8 Add AnyTone D578UVIII
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 11:04:56 -05:00
Mike Black W9MDB 00b6e0ecd7 Allow generic_read_string to terminate on expected_len
https://github.com/Hamlib/Hamlib/issues/1303
2023-05-27 10:07:32 -05:00
Mike Black W9MDB 77d9d11f92 Remove multicast from rig_state structure as it breaks backwards compability on DLL with WSJT-X
This is due to the callbacks structure being realigned as the state structure expanded
https://github.com/Hamlib/Hamlib/issues/1299
2023-05-26 17:11:43 -05:00
Mike Black W9MDB ccd832d4cb Improve power on message in rig.c 2023-05-26 11:04:42 -05:00
Michael Black f01a165ec7
Merge pull request #1302 from mikaelnousiainen/power-status-bug-fixes
Power status bug fixes
2023-05-26 10:47:35 -05:00
Mikael Nousiainen fd68723da1 Fix issues with power status handling in rigctl+rigctld and the Yaesu backend 2023-05-26 18:03:20 +03:00
Mike Black W9MDB 657e41fd09 Add rig_date_strget to DLL for WSJTX use 2023-05-22 09:32:04 -05:00
Mike Black W9MDB dbf1cacac6 Special version of misc.c for debugging 2023-05-22 09:10:42 -05:00
Mike Black W9MDB 15a01889cd Prevent segfault in rig_get_caps_int/cptr calls 2023-05-22 08:47:01 -05:00
Mikael Nousiainen 9e1adcfdb8 Merge master and fix conflicts 2023-05-21 23:11:26 +03:00
Mikael Nousiainen cce66d3257 Fix power on/off bugs: rig_open() should succeed even if rig is powered off, auto power-on should not be automatically enabled (prevents turning rig off), fix Kenwood and Yaesu power on/off sequences for all rigs 2023-05-21 23:01:03 +03:00
Mike Black W9MDB 52358d7922 Add some more debug to rig_get_caps_int
https://github.com/Hamlib/Hamlib/issues/1299
2023-05-21 10:15:22 -05:00
Mike Black W9MDB 082bf83daa Add some debug to misc.c to figure out why WSJT-X is seeing ptt_type==0 2023-05-21 09:45:57 -05:00
Mike Black W9MDB ece6a7ae1a Add a slight delay after opening the rig port to allow serial port settling 2023-05-20 23:41:18 -05:00
George Baltz N3GB e5f6b4e9d2 Fix the comment about float levels.
And now that the comment parses, fix the check to respect it.

I seriously doubt anyone will ever use this, but you never know.
2023-05-20 11:13:16 -04:00
Mike Black W9MDB 1c08cd7a64 Remove timeout_retry as it broke DLL compatibility 2023-05-19 23:50:57 -05:00
Mike Black W9MDB e2a1a00f3a Add some more LOCKs and astyle rig.c 2023-05-19 23:45:36 -05:00
Mike Black W9MDB 14c535a01b Add RIG_VFO_CURR check to suppress bogus warning 2023-05-17 12:22:12 -05:00
Mike Black W9MDB b607482651 Fix stupid error in rig_debug 2023-05-17 12:05:58 -05:00
Mike Black W9MDB 3c93d83848 Reduce debug in rig.c to CACHE for the lock function 2023-05-17 12:04:19 -05:00
Mike Black W9MDB efc90d30de Remove another temporary debug from iofunc.c 2023-05-17 11:45:50 -05:00
Mike Black W9MDB 84187e976d Remove temporary DEBUG from iofunc.c 2023-05-17 11:36:09 -05:00
Mike Black W9MDB 445e5070c1 Fix 30-second timeout on Windows for the async thread to stop
https://github.com/Hamlib/Hamlib/issues/1295
2023-05-17 10:25:33 -05:00
Mike Black W9MDB e02c42f629 Reduce hl_usleep debug to DEBUG_CACHE 2023-05-16 17:03:47 -05:00
Mike Black W9MDB f691be94d9 Fix sleep.c conversion from usec to sec 2023-05-16 15:56:50 -05:00
Mike Black W9MDB c14d6f0fa2 Add timeout value to debug in iofunc.c
https://github.com/Hamlib/Hamlib/issues/695
2023-05-16 07:54:17 -05:00
Mike Black W9MDB 1ad664be4c Add line# to a couple of debug statements in iofunc.c to distinguish them
https://github.com/Hamlib/Hamlib/issues/695
2023-05-16 07:52:00 -05:00
Mike Black W9MDB 58655be355 Replace hl_usleep with monotonic sleep shamelessly stolen from FLRig
https://github.com/Hamlib/Hamlib/issues/1290
2023-05-15 11:45:54 -05:00
Mike Black W9MDB 31733cea22 Reduce lock debug to VERBOSE
https://github.com/Hamlib/Hamlib/issues/695
2023-05-15 07:49:02 -05:00
Mike Black W9MDB 647c5b37ef Fix hl_usleep again to undo prior fix
Fix hl_usleep to not sleep if 1ms or less is called for -- speeds things up on Windows dramatically
2023-05-14 15:42:00 -05:00
Mike Black W9MDB 29d3833228 Fix nanosleep timing 2023-05-14 14:11:13 -05:00
Mike Black W9MDB 5e8de57f54 Allow using nanosleep in hl_usleep 2023-05-14 13:52:05 -05:00
Mikael Nousiainen a43cd80799 Set default timeout_retry value to 1 and allow per-rig override of the setting. Disable timeout_retry during serial flush to avoid slowing down flushes. 2023-05-14 21:13:39 +03:00
Mike Black W9MDB 6651345065 Add SF command for TS-590S/SG
Still need to add bandwidth get/set
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 11:06:22 -05:00
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +03:00
Mikael Nousiainen 93e8a2879d Fix read timeout retry logic 2023-05-14 11:57:09 +03:00
Mikael Nousiainen c75fdeb3e4 Make retries in case of read timeout optional and configurable via set-conf option. When not absolutely necessary, they will significantly slow down flushing and normal serial communications with a rig 2023-05-14 11:52:48 +03:00
Mike Black W9MDB 09c57dd961 Check multicast for null
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 16:26:46 -05:00
Mike Black W9MDB c3cfb760bb Align lock with depth check
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 16:24:52 -05:00
Mike Black W9MDB 7f4665723a Add lock function affected rig_get_freq and rig_set_freq
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 16:20:55 -05:00
Mike Black W9MDB 12384c7796 Change rigctl_parse to use ENTERFUNC2 instead of ENTERFUNC
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 16:11:46 -05:00
Mike Black W9MDB 300c0c415a Fix some state.depth values 2023-05-13 16:02:41 -05:00
Mike Black W9MDB c4d0df1f86 Balance RETURNFUNC2 in cache.c 2023-05-13 15:22:31 -05:00
Mike Black W9MDB 14cdbcba31 Balance RETURNFUNC in cache.c 2023-05-13 15:11:11 -05:00
Mike Black W9MDB 99baa872bf Move sleep for serial before the flush 2023-05-13 10:49:08 -05:00
Mike Black W9MDB 43b24caa01 Fix rigctld timeout on open
https://github.com/Hamlib/Hamlib/issues/1288
2023-05-13 10:41:41 -05:00
Mike Black W9MDB fc96ec0874 Add new rig_lock function for eventual use in threading with new multicast
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 08:00:06 -05:00