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
630f5866a7
Completely remove single ; valcmd in newcat.c
2023-05-16 17:16:28 -05:00
Mike Black W9MDB
bba58dff7b
Revert newcat.c valcmd to ID; as single ; was causing timeouts on FT-991 and possibly others
...
Using ; required a 100ms sleep after receiving the ?; response and that sleep can be removed when using ID;
22ms time vs 135ms time to set freq on FT-991 now
2023-05-16 17:04:09 -05:00
Mike Black W9MDB
e02c42f629
Reduce hl_usleep debug to DEBUG_CACHE
2023-05-16 17:03:47 -05:00
Mike Black W9MDB
f43aa43671
Fix newcat.c VFOB validation
2023-05-16 15:57:22 -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
01a7eee18d
Reduced loop time in termios.c to 1ms vice 10ms
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-16 07:38:21 -05:00
Mike Black W9MDB
f4a08e10bf
Add winmm.lib to Win32 build
...
https://github.com/Hamlib/Hamlib/issues/1290
2023-05-15 14:24:16 -05:00
Mike Black W9MDB
6142e98c23
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2023-05-15 11:53:42 -05:00
Mike Black W9MDB
73465d16c4
Remove cJSON.c from cppcheck as it segfaults on it right now
2023-05-15 11:48:59 -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
d3b912aadb
Add precise_time.c to misc to help speed up Windows
...
https://github.com/Hamlib/Hamlib/issues/1290
2023-05-15 11:45:40 -05:00
Mike Black W9MDB
1265ede384
Add precise_time.c to misc to help speed up Windows
2023-05-15 11:44:17 -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
eff6f2d554
Fix TS590 vfo test to ensure correct A/B when CURR/TX/RX is used
...
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-15 07:45:38 -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
Michael Black
fa9948b17d
Merge pull request #1294 from mikaelnousiainen/improve-read-timeout-retry-logic
...
Improve read timeout retry logic
2023-05-14 13:19:34 -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
176a63c726
Add simft847.c
2023-05-14 13:12:45 -05:00
Mike Black W9MDB
0ad834f59e
Add simft847 to Makefile.am
2023-05-14 13:11:58 -05:00
Mike Black W9MDB
05ab130f91
Add width/shift debug to ts590.c
...
https://github.com/Hamlib/Hamlib/issues/1293
2023-05-14 12:50:49 -05: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
Michael Black
10f1f3a7cd
Merge pull request #1289 from mikaelnousiainen/bug-fixes-1
...
Fix a number of issues in the current Hamlib code
2023-05-14 07:26:34 -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
7c5a636a64
Add FTDX10 to CAT TOT 100ms rigs
2023-05-13 22:27:23 -05: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
006ca07b3c
Fix multicast.h
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:44:08 -05:00
Mike Black W9MDB
75b1b20fa2
Remove dead code from multicast.h
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 15:41:38 -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
c2d1f04507
Add comments about multicast mutex
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 14:54:43 -05:00
Mike Black W9MDB
8ad62b1af8
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2023-05-13 10:49:26 -05:00
Mike Black W9MDB
99baa872bf
Move sleep for serial before the flush
2023-05-13 10:49:08 -05:00
Mike Black W9MDB
28e2d8f45c
Move sleep for serial before the flush
2023-05-13 10:48:39 -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
26aa57aded
Add rig_lock and pthread mutex for multicast
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 08:11:50 -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
Mikael Nousiainen
e89687668d
Add flushing of rig port, including async data pipes, after \send_raw and \send_cmd to drain any extra rig responses
2023-05-13 00:04:37 +03:00
Mike Black W9MDB
c7cfc78303
Add IC7700 to rigs that don't have 0x25
2023-05-12 14:36:40 -05:00