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
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
Mikael Nousiainen
92215dfd2a
Fix bugs in \send_raw command and add possibility to specify any command terminator character. Add \stop_morse to Dummy rig.
2023-05-12 10:01:32 +03:00
Mike Black W9MDB
5f55b0ea48
Since we do two timeouts now for serial we can cut serial timeouts in half
...
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-10 23:23:33 -05:00
Mike Black W9MDB
f03b03878e
Speed up timeout during rig_open by not doing any retries
...
https://github.com/Hamlib/Hamlib/issues/1282
2023-05-10 23:00:12 -05:00
Mikael Nousiainen
4b8de5f96d
Change float level granularity formatting to use %f to avoid E notation. Fix AGC_TIME level range for Icom rigs. Fix listing of AGC levels in \dump_caps. Add \stop_morse and \wait_morse in \dump_caps. Add simulation of responses in \send_cmd_rx and \send_raw for dummy rig (and if rig port type is NONE). Fix other minor issues.
2023-05-10 20:53:18 +03:00
Mike Black W9MDB
322ba6901c
Remove multicast.h from src/Makefile.am
2023-05-09 11:57:11 -05:00
Mike Black W9MDB
04e10da6e3
Move multicast.h to include/hamlib and fix some other things
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 11:46:54 -05:00
Mike Black W9MDB
b67803358c
Update multicast.c JSON
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 09:23:46 -05:00
Mike Black W9MDB
7985286208
Add PTT to multicast packet
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 09:15:41 -05:00
Mike Black W9MDB
7835329e32
Fix mingw build for multicast.c
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 07:00:03 -05:00
Mike Black W9MDB
ca763d4ff1
Clean up JSON
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-08 17:15:26 -05:00
Mike Black W9MDB
a4c10c3206
Fix cppcheck warnings
2023-05-08 12:16:51 -05:00
Mike Black W9MDB
dad55ef148
astyle files getting ready for WSJT-x-2.7.0rc1
2023-05-08 07:37:13 -05:00
Mike Black W9MDB
f55e7b8348
Rename multicast test routines and clean up things a bit
...
Now works on mingw32 and Linux
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 23:23:01 -05:00
Mike Black W9MDB
6fa16ea77f
Fix mingw compile warning
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 17:38:45 -05:00
Mike Black W9MDB
023a6bd3fb
Add EXPORT to multicast.h
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 17:32:36 -05:00
Mike Black W9MDB
9fd6af9699
Fix mingw compile warning
2023-05-07 17:28:08 -05:00
Mike Black W9MDB
b55a46a0f6
Fix mingw compile warnings
2023-05-07 17:27:31 -05:00
Mike Black W9MDB
e505ed37db
Fix compile warning on mingw
2023-05-07 17:26:31 -05:00
Mike Black W9MDB
62b9a12e89
Add multicastserver test
...
Fix compile warnings on mingw
2023-05-07 17:17:50 -05:00
Mike Black W9MDB
a8d9d90025
Fix multicast.c build on mingw
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 15:34:31 -05:00
Mike Black W9MDB
b0357025e6
Add multicast.c to hamlib build
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 15:32:43 -05:00
Mike Black W9MDB
b6f1cc4bc8
Attempt to get multicastclient working on mingw
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 10:59:43 -05:00
Mike Black W9MDB
95375a5587
Fix multicast test compile
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 09:45:27 -05:00
Mike Black W9MDB
6c6b1799f9
Fix make distcheck
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:42:13 -05:00
Mike Black W9MDB
58b01989b8
Fix mingw build some more
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:34:21 -05:00
Mike Black W9MDB
1022596f76
Fix mingw build again
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:29:59 -05:00
Mike Black W9MDB
60782af15a
Fix github build
...
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:27:44 -05:00
Mike Black W9MDB
e3c2a8d6ca
Add first implementation of multicast functions and multicastclient.c test program.
...
Next step will be to implement this when rig is opened.
This will turn Hamlib into a polling system in addition to polling -- caching will handle repeated requests
This should mean basic functions of freq, mode, split, ptt (and others when implemented) will have almost
immediate responses as only the cached values should be used.
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 06:50:35 -05:00
Mike Black W9MDB
41113de9a2
Reduce debug level in iofunc.c
2023-05-05 09:10:43 -05:00
Mike Black W9MDB
fd4b3eb103
Reduce read_string_generic timeout debug to TRACE level
2023-05-05 08:11:51 -05:00
Mike Black W9MDB
1e9ecb079a
Fix RT21 2nd device for elevation
...
https://github.com/Hamlib/Hamlib/issues/1257
https://github.com/Hamlib/Hamlib/issues/1258
2023-04-30 17:04:34 -05:00
Mike Black W9MDB
4ada211713
Do 1 retry when timing out in read_string_generic
2023-04-30 17:02:09 -05:00
Mike Black W9MDB
2b37e8b79b
Fix debug statement in rig.c
2023-04-29 17:10:25 -05:00
Mike Black W9MDB
e4acbac647
Try to reopen rig on hard error
...
https://github.com/Hamlib/Hamlib/issues/1282
2023-04-29 16:58:18 -05:00