Wykres commitów

524 Commity (77d9d11f9249edeaedef943766c243c595952ad8)

Autor SHA1 Wiadomość Data
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 657e41fd09 Add rig_date_strget to DLL for WSJTX use 2023-05-22 09:32:04 -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
George Baltz N3GB d27283ceb7 Update RIG_LEVEL_READONLY_LIST.
Drop duplicate RFPOWER_METER, add TEMP_METER.
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
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
Mikael Nousiainen eea12aff0a Merge master 2023-05-14 12:08:15 +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 c2d1f04507 Add comments about multicast mutex
https://github.com/Hamlib/Hamlib/issues/695
2023-05-13 14:54:43 -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
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 58e6ee3553 I think we can work without config.h being included in rig.h
https://github.com/Hamlib/Hamlib/issues/695
2023-05-09 12:00:53 -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 a4c10c3206 Fix cppcheck warnings 2023-05-08 12:16:51 -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 7ab97b5e7a Remove ARPA_INET warning
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 09:47:10 -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 1b3cee99fb Fix multicast compile on mingw
https://github.com/Hamlib/Hamlib/issues/695
2023-05-07 07:21:15 -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
Mikael Nousiainen 1a59ce2ae2 Fix and extend TS-590(S/SG) backend 2023-04-15 00:25:29 +03:00
Daniele Forsi IU5HKX c3d06fd043 Add/fix Doxygen comments 2023-04-09 23:06:36 +02:00
Daniele Forsi IU5HKX 96bb604b12 Fix typos 2023-04-09 23:06:32 +02:00
Daniele Forsi IU5HKX 26d3e79cf5 Fix Doxygen comments 2023-03-19 23:15:49 +01:00
Daniele Forsi IU5HKX 6de5aa7838 Fix Doxygen unmatched directives \cond and \endcond 2023-03-19 18:42:24 +01:00
Mike Black W9MDB 3d38f8b214 Add offset_vfoa and offset_vfob configuraiton parameters for adding freq offsets to VFOA/Main and VFOB/Sub 2023-02-17 12:33:14 -06:00
Mike Black W9MDB 111627533f Changes to support ID-5100 in gpredict.
Can now set set freq/mode on VFOA/B or Main/Sub correctly automatically switching dual watch mode as needed
2023-02-10 08:02:48 -06:00
Mike Black W9MDB 4a487ffdcc Fix rigctld agc level readings -- allow for rig backedn to specify "RIG_AGC_NONE" now for clarity if desired
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-06 16:21:58 -06:00
Mike Black W9MDB c7b33ef0b3 Fix ID5100 ID4100 ID31 ID51 get/set freq
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 11:30:52 -06:00
Mike Black W9MDB 4689a2ff11 Add client_version for rigctld clients to report their version to rigctld
This should allow for rigctld to report deprecation, compatibility, or alternatives
https://github.com/Hamlib/Hamlib/issues/1153
2022-12-23 23:39:20 -06:00
Mike Black W9MDB 04b18c9d5b Add --set-conf=tuner_control_pathname=hamlib_tuner_control
Program will be passed 0 or 1 (Off or On)
Example script in tests/hamlib_tuner_control
https://github.com/Hamlib/Hamlib/issues/1192
2022-12-19 12:55:18 -06:00
Mike Black W9MDB ea29263f35 Fix unidirectional rig cached frequency (e.g. FT736R)
https://github.com/Hamlib/Hamlib/issues/1187
2022-12-18 09:01:27 -06:00
Daniele Forsi IU5HKX 34ef939350 Remove unused include of stdarg.h 2022-12-09 18:05:18 +01:00
Mike Black W9MDB f8a5b92bc7 Add AGC levels to ts2000.c and fix AGC Level printout to show index number instead of enumeration number.
Add RIG_AGC_LONG and RIG_AGC_ON levels to match rig's capabilities better
Still need to allow setting AGC level using mnemonics instead of level value to make it more usable
2022-11-24 09:47:12 -06:00
Mike Black W9MDB 1ef3549e94 Fix rigctld showing the real rig agc_levels instead of all levels
Fix display of RIG_AGC_OFF
Add RIG_AGC_LONG
Fix PowerSDR AGC values
https://github.com/Hamlib/Hamlib/issues/1155
2022-11-23 23:29:18 -06:00
Mike Black W9MDB 1aebee2da9 Fix clang warning on callback functions
https://github.com/Hamlib/Hamlib/issues/1149
2022-11-14 16:37:20 -06:00
Mike Black W9MDB 4f5bf9aadd Fix some dumpcaps warnings in many rigs 2022-11-14 16:02:28 -06:00
Mike Black W9MDB cc3d912a76 Fix readonly set_level in flex6xxx.c 2022-11-11 23:26:20 -06:00
Mike Black W9MDB c218996e2f Add RIG_FUNC_OVF_STATUS for IC-7300, IC-9700, IC-705, IC-R8600 2022-11-04 23:31:51 -05:00
Mike Black W9MDB d311153f63 Add AGC_TIME to IC-7300, IC-9700, and IC-705
https://github.com/Hamlib/Hamlib/issues/1136
2022-11-04 10:49:14 -05:00
Mike Black W9MDB 2a30396d70 Add RIG_LEVEL_USB_AF for IC-705, IC-7300, IC-9700, IC-785x, and IC-R8600
In combination with RIG_LEVEL_RF we should be able to create an AGC control
for WSJTX and JTDX for example to keep audio levels within a good A/D range automagically
https://github.com/Hamlib/Hamlib/issues/1135
2022-11-01 09:14:19 -05:00
Mike Black W9MDB 1d0d733405 Remove winpthreads.h
MSVC build now needs NuGet pthreads package to compile
https://github.com/Hamlib/Hamlib/issues/1107
2022-09-03 11:19:56 -05:00
Mike Black W9MDB 1aed27c71a Remove #defines for rig_set_split and return to standard call 2022-08-27 07:36:14 -05:00
Mike Black W9MDB f0fdf97a9b Change winpthreads.h block from _WIN32 to _MSC_VER to only invode winpthreads.h for MSVC 2022-08-26 11:45:49 -05:00
Mike Black W9MDB 7c071b84b6 Add winpthreads.h -- not sure if this will actually work in MSVC compiliaton for true threading support.
But at least it let's it compile and satisfied the pthread calls.
For standalone apps threading is not currently used although pthread mutex calls are used.
https://github.com/Hamlib/Hamlib/issues/1107#
2022-08-26 11:35:39 -05:00
Mike Black W9MDB 6f967a68d5 Make pthread.h a default include and remove config.h from being included in rig.h
https://github.com/Hamlib/Hamlib/milestone/14
2022-08-23 17:20:03 -05:00
Mikael Nousiainen dc02c566f5 Fix handling of the new EPOWER error code: do not re-open rig and fix/extend allowed commands when rig is powered off. Fix Yaesu newcat backend to not try to call rig ID command during command validation. 2022-08-23 00:10:25 +03:00
Mike Black W9MDB 810da5f54c Fix EK89X set_freq and upgrade to BETA status
Add ISBUSB and ISBLSB modes
2022-08-13 08:52:42 -05:00
Mike Black W9MDB 8e31b1363b Forgot to commit rig.h changes 2022-07-30 15:51:50 -05:00
Mike Black W9MDB b7cbd39d1d Make HAMLIB_SETTINGS_FILE global 2022-07-23 10:39:14 -05:00
Mike Black W9MDB d0c615ae43 Added EPOWER error return when rig is powered off
Only set_powerstat will be accepted and rig will be polled for powerstat
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 15:41:23 -05:00