Wykres commitów

1951 Commity (e178a984ca693750f2b8a45f3e6b1e516faed281)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 224d68d1ac Speed up Malachite normal operations with 125ms post write requirement instead of 400ms
400ms needs for band changes on Malachite
Fix BUILTINFUNC calls to compile correctly -- this is for debugging only
2023-06-08 17:34:39 -05:00
Mike Black W9MDB 6100bfdc11 Fix silly error in sleep.c 2023-06-08 09:03:04 -05:00
Mike Black W9MDB 8d8f224aff Reduce debug in sleep.c -- seems stable now 2023-06-08 09:01:28 -05:00
Mike Black W9MDB 32569d4020 Do not allow cache hit for 55Hz and 56Hz values used by WSJT-X 2023-06-07 17:46:10 -05:00
Mike Black W9MDB 05cf554671 This seems to fix the DLL backwards compatiblity now -- more testing needed
Revert "Remove timeout_retry as it broke DLL compatibility"

This reverts commit 1c08cd7a64.
2023-06-07 07:26:39 -05:00
Mike Black W9MDB 527dbaad34 Add LOCK in send_morse 2023-06-06 12:40:51 -05:00
Mike Black W9MDB 55cbf80719 Fix compile warning in rig.c 2023-06-04 17:44:31 -05:00
Mike Black W9MDB 4e4d8e39d8 Fix sleep.c function 2023-06-04 17:43:33 -05:00
Mike Black W9MDB eb97c7c107 Change anytone.c to use bluetooth protocol
Update some things to keep debug quiet during thread operations in anytone.c
2023-06-04 15:56:01 -05:00
Mike Black W9MDB 48b01aa3ff Add RIG_MODE_PKTLSB to FT817 even though it must be switched using Menu 26
Add a warning message to notify the user
https://github.com/Hamlib/Hamlib/issues/1308
2023-06-04 07:18:00 -05:00
Mike Black W9MDB a6de41e206 rigctld can now see RIG_LEVEL values correctly
https://github.com/Hamlib/Hamlib/issues/1305
2023-06-03 16:50:30 -05:00
Mike Black W9MDB fd86001ead Revert "Remove multicast from rig_state structure as it breaks backwards compability on DLL with WSJT-X"
This didn't fix the DLL compatibility problem
This reverts commit 77d9d11f92.
2023-05-31 07:27:34 -05:00
Mike Black W9MDB 2c8f8a9c29 Added rig_set_debug_filename due to Python not being able to pass a FILE*
https://github.com/Hamlib/Hamlib/issues/1307
2023-05-31 07:04:20 -05:00
Mike Black W9MDB 5745457d7f Fix anytone thread deletion 2023-05-30 22:10:19 -05:00
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
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
Mike Black W9MDB fdf1c3cdab Fix auto_power_on with netrigctl when powered off but still responding to PS; command
https://github.com/Hamlib/Hamlib/issues/1282
2023-04-29 16:13:48 -05:00
Mike Black W9MDB 3f7cf2d0b3 Improve power on message 2023-04-29 16:07:05 -05:00
Mike Black W9MDB 6422bc51d5 Add version to rig_init debug info 2023-04-22 11:39:03 -05: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
Mike Black W9MDB 99170c1025 Add error message when rig is not turned on that mentions auto_power_on 2023-03-30 22:28:09 -05:00
Mike Black W9MDB 38d6858698 Progress on Expert ampctl 2023-03-28 17:23:54 -05:00
Mike Black W9MDB 7236942d89 Adding Expert Linear amplifier 2023-03-28 17:08:40 -05:00
Mike Black W9MDB 403ec07b6b Fix auto_power_on from rigctl invocation with --set-conf=auto_power_on=1
https://github.com/Hamlib/Hamlib/issues/1220
2023-03-28 10:43:07 -05:00
Mike Black W9MDB 5aab96beff Enable async by default -- this prevents WSJT-X from crashing when transceive mode is on for the IC9700
https://github.com/Hamlib/Hamlib/issues/1264
2023-03-27 10:04:59 -05:00
Daniele Forsi IU5HKX 2db37fe7db Fix typos 2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX 26d3e79cf5 Fix Doxygen comments 2023-03-19 23:15:49 +01:00
Daniele Forsi IU5HKX 8e24746a3e Fix typos 2023-03-19 22:20:28 +01:00
Daniele Forsi IU5HKX 6de5aa7838 Fix Doxygen unmatched directives \cond and \endcond 2023-03-19 18:42:24 +01:00
Daniele Forsi IU5HKX 52d41236a7 Enable --show-conf for ampctl and ampctld 2023-03-18 10:25:36 +01:00
Matthew J. Wolf f5c26bf235 Inital add of rotator saebrtrack 2023-03-10 13:03:14 -05:00
Mikael Nousiainen f17f6f0f42 Disable rig port flushing when async I/O is enabled. Improve validation of Icom frames. 2023-03-08 23:35:08 +02:00
Mike Black W9MDB 0591aee8e6 Remove dead code 2023-03-06 11:32:58 -06:00
Mike Black W9MDB edc18103f0 Move semicolon removal after complete string is read.
xg3 was expecting single ; response and old way was causing timeouts
2023-03-06 11:27:41 -06:00
Mike Black W9MDB a8aba7c13b Add tcflush back into flush routine
https://github.com/Hamlib/Hamlib/issues/1241
2023-03-06 11:26:35 -06:00
Mike Black W9MDB decc056662 Remove caps->get_ptt from DTR/RTS get_ptt -- seems we should not need query via CAT when using DTR/RTS
https://github.com/Hamlib/Hamlib/issues/1241
2023-03-04 11:17:14 -06:00
George Baltz N3GB 14aa095362 Do the check for min=max=0 the right way.
Avoids possible compiler/arch/endian weirdness.
2023-02-26 13:12:52 -05:00
George Baltz N3GB f161ae7b35 Add routine to check input to <brand>_set_level
See https://github.com/Hamlib/Hamlib/issues/1144
2023-02-26 13:12:52 -05:00
Mike Black W9MDB fb12668f06 Allow single semicolon characaters to be skipped 2023-02-20 22:49:27 -06: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 4078fa9248 Fix ID5100 S Main 1 Sub
https://github.com/Hamlib/Hamlib.git
2023-02-10 16:49:37 -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 cbd5f9ad3e Future-proof 32/64/128-bit detection 2023-02-07 10:47:38 -06:00
Mike Black W9MDB 1e1abaccbc Add 64/32-bit information to version 2023-02-07 10:43:22 -06:00
Mike Black W9MDB 44e8389e00 Fix suppression of setting frequency on nontargetable rigs when in split mode
That is, do not set TX VFO when receiving and do not set RX VFO when transmitting
Should allow gpredict to work much better
2023-02-04 23:54:40 -06:00
Mike Black W9MDB 8c0bb2034d Fix VFO A/B swapping for gpredict -- hopefully better behavior for VFO swapping rigs
Should avoid setting RX freq while TX and avoid TX freq while RX
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-02 23:15:26 -06:00
Mike Black W9MDB 6fbb098612 Fix segfault using python Hamlib.rig_parse_mode(None)
Argument really needed to be 'None' but now prints out better error message
https://github.com/Hamlib/Hamlib/issues/1227
2023-01-29 15:50:27 -06:00
Mike Black W9MDB 0177d85a5d Forgot to also checking rig.c to allow get_powerstat failing to just keep going
https://github.com/Hamlib/Hamlib/issues/1226
2023-01-26 09:32:19 -06:00
Mike Black W9MDB a47eba7ce4 Revert "Update NEWS"
This reverts commit 76a3ab19eb.
2023-01-24 11:25:49 -06:00
Mike Black W9MDB 76a3ab19eb Update NEWS 2023-01-24 11:23:47 -06:00
Mike Black W9MDB 52bed765ef Clean up rig power on/off sequencing for Kenwood/Elecraft rigs
Note that the K3/K3S cannot power on via CAT control
https://github.com/Hamlib/Hamlib/issues/1225
2023-01-22 23:41:21 -06:00
Mike Black W9MDB cfde2c8a92 Add ability for set_vfo_opt 0/1 so rigctl can control VFO option 2023-01-20 16:53:42 -06:00
Mike Black W9MDB 57b063a44c Balance ENTER/RETURN in rig.c 2023-01-18 12:25:05 -06:00
Mike Black W9MDB f392cc4c18 Fix AGC level display in rigctld
https://github.com/Hamlib/Hamlib/issues/1155
2023-01-17 23:54:05 -06:00
Mike Black W9MDB c02370d279 Allow rigctld to continue when an invalid set_conf parameter is used 2023-01-17 09:19:39 -06:00
Mike Black W9MDB 3f8da23bb6 Improved set_conf error when serial_handshake is invalid 2023-01-17 08:50:47 -06:00
Mike Black W9MDB cb1c98fa85 Fix xdgpath in settings.c 2023-01-16 09:24:00 -06:00
Mike Black W9MDB 9c48ec785c Improve serial port timeout when permission proble or does not exist
https://github.com/Hamlib/Hamlib/issues/1216
2023-01-12 11:23:11 -06:00
Mike Black W9MDB 00dce998ae Fix Elecraft power2mW precision/accuracy
Should fix any others too
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-09 23:26:15 -06:00
Mike Black W9MDB 5ebde1ca34 Really fix CM108 ptt_bitnum usage
https://github.com/Hamlib/Hamlib/issues/1203
2023-01-09 22:53:01 -06:00
Mike Black W9MDB 7cc477869f Revert "Close rig on set_powerstat 0 -- Linux was unable to reconnect to IC-7300"
This reverts commit 93e3aec588.
2023-01-09 12:21:33 -06:00
Mike Black W9MDB 56c87cfa9a Fix CM108 ptt setting
https://github.com/Hamlib/Hamlib/issues/1203
2023-01-09 11:03:50 -06:00
Mike Black W9MDB 93e3aec588 Close rig on set_powerstat 0 -- Linux was unable to reconnect to IC-7300
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-08 16:48:35 -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 bbd0f856ca Fix rig_getpower2mW so it checks all range lists
https://github.com/Hamlib/Hamlib/issues/1205
2023-01-05 23:31:15 -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 c1662ce886 Remove set_rts and set_dtr low from serial.c
This was causing hardward flow control to fail on Linux and MacOS
https://github.com/Hamlib/Hamlib/issues/1198
https://github.com/Hamlib/Hamlib/issues/1199
2022-12-31 09:30:25 -06:00
Mike Black W9MDB bc6c14e430 Add Apex Shared Loop rotator
https://github.com/Hamlib/Hamlib/issues/1159
2022-12-25 17:07:26 -06:00
Mike Black W9MDB c59b5383e9 Remove echo from Makefile.am 2022-12-24 22:20:28 -06:00
Mike Black W9MDB e70465a9c0 Fix grep error on mingw build 2022-12-24 11:31:12 -06:00
Mike Black W9MDB bfa4bbd50d Full version info now available for Windows File/Properties/Details
Will show git version until released
https://github.com/Hamlib/Hamlib/issues/1168
2022-12-23 17:44:44 -06:00
Mike Black W9MDB 17f88dccbf Fix version_dll.c
https://github.com/Hamlib/Hamlib/issues/1168
2022-12-22 12:14:29 -06:00
Mike Black W9MDB 267d07f708 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2022-12-22 11:58:13 -06:00
Mike Black W9MDB f31e1b7ad9 File/Properties/Details on hamlib-X.dll now shows information except for File version (still to be fixed)
https://github.com/Hamlib/Hamlib/issues/1168
2022-12-22 11:50:50 -06:00
Mike Black W9MDB cafc094788 Add version information for Windows file/Properties/Details
https://github.com/Hamlib/Hamlib/issues/1168
2022-12-21 15:44:36 -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
Mike Black W9MDB b1828d951a Ensure get_powerstat return RIG_OK when rig does not have get_powerstat
https://github.com/Hamlib/Hamlib/issues/1189
2022-12-17 17:23:52 -06:00
Mike Black W9MDB 9970a2767d Reset rig->state.cache.split so it can be set again when rigctld reopens the rig
https://github.com/Hamlib/Hamlib/issues/1187
2022-12-17 10:35:56 -06:00
Mike Black W9MDB 04f5195cfd Do not reset cache for unidirectional rigs
https://github.com/Hamlib/Hamlib/issues/1187
2022-12-17 10:28:31 -06:00
Mike Black W9MDB 120c580de0 FT-736 did not have get_mode so only call get_mode when available
https://github.com/Hamlib/Hamlib/issues/1187
2022-12-17 09:59:04 -06:00
Mike Black W9MDB df8b88072a Add all the baud rates to serial.c -- virtual serial ports can handle 4,000,000 baud 2022-12-11 23:18:38 -06:00
Mike Black W9MDB 6331709fd6 Add --disable-parallel configure option
https://github.com/Hamlib/Hamlib/issues/1181
2022-12-09 23:35:03 -06:00
Michael Black 2f7e5ab733
Merge pull request #1180 from dforsi/fix/unused-includes
Remove unused includes
2022-12-09 12:19:06 -06:00
Daniele Forsi IU5HKX 05a8aaebe3 Remove unused include of usb_port.h 2022-12-09 17:39:43 +01:00
Daniele Forsi IU5HKX a5773f6f4e Remove unused includes of cal.h 2022-12-09 17:39:43 +01:00
Daniele Forsi IU5HKX 3f077a5cf5 Remove unused includes of gpio.h 2022-12-09 17:31:23 +01:00
Daniele Forsi IU5HKX b93551712f Remove unused includes of fcntl.h 2022-12-09 14:06:59 +01:00
Daniele Forsi IU5HKX f7fe2912ec Remove unused includes of errno.h 2022-12-09 12:32:54 +01:00
Michael Black d369b60f6d
Merge pull request #1164 from andz82/master
Added FLIR/DirectedPerception PTU rotor backend
2022-12-08 22:30:24 -06:00
Mike Black W9MDB dd029a3082 Fix FTDX3000 split problem with sticking on Sub VFO
https://github.com/Hamlib/Hamlib/issues/1177
2022-12-08 22:26:09 -06:00
Mike Black W9MDB 22af811d5f Fix spelling error in rig.c 2022-12-06 12:56:13 -06:00
Mike Black W9MDB e603da4cb6 If rig does not have TARGETABLE_MODE then we return the cached values from VFOA
https://github.com/Hamlib/Hamlib/issues/1172
2022-12-04 11:59:28 -06:00
Mike Black W9MDB 4fe9f5918d If mode for VFOB is requested but rig does not have TARGETABLE_MODE then just return VFOA mode
https://github.com/Hamlib/Hamlib/issues/1172
2022-12-02 23:29:23 -06:00
Mike Black W9MDB 3e01e7e9a7 Balance the ELAPSED functions 2022-12-01 15:05:20 -06:00
Mike Black W9MDB dc7e9bd7e9 Re-enable O_NDELAY -- slowed things down by about 2X
https://github.com/Hamlib/Hamlib/issues/1163
2022-11-30 12:01:46 -06:00
andz 0cc4ca778d
Merge branch 'Hamlib:master' into master 2022-11-30 15:50:38 +01:00
andz 0bdb6827da Implemented FLIR basic funktions:
* flir_init
* flir_cleanup
* flir_open
* flir_close
* flir_set_position
* flir_get_position
* flir_park
* flir_stop
* flir_reset
* flir_move
2022-11-30 12:20:25 +01:00
Mike Black W9MDB f81c20eb37 Astyle files 2022-11-28 10:48:17 -06:00
Mike Black W9MDB ce1932fb9a Fix send_raw for Windows
https://github.com/Hamlib/Hamlib/issues/1157
2022-11-28 10:01:50 -06:00
Mike Black W9MDB 8b75fc8ea6 Fix 32-bit compile warning in sprintflst.c 2022-11-28 09:00:00 -06:00
Mike Black W9MDB 58f2549a99 Change rigctl send_raw to also require terminator
https://github.com/Hamlib/Hamlib/issues/1157
2022-11-26 15:19:23 -06:00
andz 82ef0a39bf Initial adding FLIR PTU rotator 2022-11-26 01:04:36 +01:00
Mike Black W9MDB a0711bfa71 Fix send_raw and add some debug to it
https://github.com/Hamlib/Hamlib/issues/1157
2022-11-25 17:40:05 -06:00
Mike Black W9MDB af6d4d03e3 Add send_raw to rigctl 2022-11-24 23:27:07 -06: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 ca4814c472 astyle files 2022-11-23 23:31:08 -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 edcbd17612 Fix rig_send_raw to return bytes read, fill buffer, and also work with fixed length response/null terminator
https://github.com/Hamlib/Hamlib/issues/1157
2022-11-22 15:51:26 -06:00
Mike Black W9MDB 2c384ece6b Improve debug a bit in rig.c so show model and remove unnecessary debug 2022-11-19 10:44:49 -06:00
Mike Black W9MDB 25ac6d77d6 Fix dumpcaps filter printout to only show valid filters
https://github.com/Hamlib/Hamlib/issues/1151
2022-11-16 16:48:37 -06:00
Mike Black W9MDB 6c5e0e6974 Update astyle formatting 2022-11-16 15:30:36 -06:00
Mike Black W9MDB 2b487fe718 Move ser_set_rts/dtr to beggining of serial_setup
https://github.com/Hamlib/Hamlib/issues/1131
2022-11-16 15:29:36 -06:00
Mike Black W9MDB 31e40d2751 ser_open now sets rts and dtr low on startup
https://github.com/Hamlib/Hamlib/issues/1131
2022-11-16 13:26:48 -06:00
Mike Black W9MDB 1e68b06b53 Add MDS 4710 rig 2022-11-14 23:57:22 -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 eeac97c725 Fix FT-991 level_gran
https://github.com/Hamlib/Hamlib/issues/1144
2022-11-10 16:00:00 -06:00
Mike Black W9MDB fde9ad706c Fix IC-7300 rig power on hopefully
https://github.com/Hamlib/Hamlib/issues/1142
2022-11-08 10:47:57 -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 790bf7704c Remove debug from misc.c 2022-11-01 12:27:33 -05:00
Mike Black W9MDB 0d73bb22a0 Fix LEVEL_USB_AF
https://github.com/Hamlib/Hamlib/issues/1135
2022-11-01 12:25:42 -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 5a6b0b4719 Reduce debug verbosity 2022-10-28 16:30:39 -05:00
Mike Black W9MDB b63460f05f Future code information in iofunc.c 2022-10-25 23:23:13 -05:00
Mike Black W9MDB e616f28281 set_mode will no longer set mode unless necessary
this will preven display flashing on some rigs now that WSJTX sets VFOB mode
2022-10-15 17:06:53 -05:00
Mike Black W9MDB e6d0403cd2 Add future change notes to iofunc.c as part of serial I/O speedup to be done 2022-10-12 22:40:49 -05:00
Mike Black W9MDB a033b66f9c Fix an uninitialized value warning from valgrind 2022-09-21 09:31:59 -05:00
Mike Black W9MDB 67b933ddb5 Update astyle for 4.5 release 2022-09-20 08:46:28 -05:00
Mike Black W9MDB 66a823bb6b Show use_cached_freq in rig.c
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 15:53:56 -05:00
Mike Black W9MDB 7da1a1f6a1 Allow cached freq and mode to be used when rig is in transceive mode
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 15:29:53 -05:00
Mike Black W9MDB f5f97b35db Update debug in rig.c
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 09:56:07 -05:00
Mike Black W9MDB 6c746c310b Improve debug distinction in iofunc.c 2022-09-04 11:38:41 -05:00
Mike Black W9MDB 86245cffa6 Remove some debug from iofunc.c 2022-09-04 10:48:53 -05:00
Mike Black W9MDB 0cd6f1f761 Fix cache clear on rigs without get_vfo to only clear cache when vfo is changing 2022-09-03 16:56:48 -05:00
Mike Black W9MDB d3824aa7ab Reset all cache when changing VFOs on a rig without get_vfo
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-02 08:05:52 -05:00
Mike Black W9MDB 927b2d858a Update debug in cache.c
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-02 08:03:35 -05:00
Mike Black W9MDB e2616b991a Add RIG_VFO_ALL for rig_strvfo() 2022-09-02 07:59:07 -05:00
Mike Black W9MDB 5e9b853d07 Reduce debug in rig_set_vfo 2022-08-29 12:49:55 -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 825e3eefa8 Fix call to rig_get_vfo in rig.c -- compiler did not catch flipping tx_vfo and split pointers
https://github.com/Hamlib/Hamlib/issues/1100
2022-08-26 17:57:45 -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
Georges Auberger ce5c90a6c7 Add product id for CM119B chip. Used in KURI adapter designed by W7NX. 2022-08-20 15:26:17 -10: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 0ff94e1a7e Reduce verbosity in iofunc.c 2022-07-31 12:12:30 -05:00
Mike Black W9MDB a83eb3bf42 astyle files for 4.5 release 2022-07-27 17:16:17 -05:00
Mike Black W9MDB 627ec83652 Change malloc to calloc 2022-07-27 10:26:08 -05:00
Mike Black W9MDB 027b3ee0a5 Fix valgrind warning uninitialized value in dummy.c for priv->split 2022-07-27 10:03:20 -05:00
Mike Black W9MDB 9715babfaf Balance RETURNFUNC in rig.c 2022-07-26 23:13:21 -05:00
Mike Black W9MDB 21e6e9bf2a Fix X command turning of split mode
https://github.com/Hamlib/Hamlib/issues/1083
2022-07-26 10:00:36 -05:00
Michael Black 74b4d7beb6
Merge pull request #1091 from dforsi/fix/unused-includes
Fix/unused includes
2022-07-24 11:44:01 -05:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB 5f7b56801b Prevent Flex F6K from asking for VFOB at startup 2022-07-23 11:32:11 -05:00
Daniele Forsi IU5HKX 4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +02:00
Mike Black W9MDB b7cbd39d1d Make HAMLIB_SETTINGS_FILE global 2022-07-23 10:39:14 -05:00
Mike Black W9MDB f4f7bc9081 Allow rigctl/rigctld to timeout faster on startup
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-18 09:51:45 -05:00
Mike Black W9MDB bceac4b401 Remove debug statements
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-18 08:01:51 -05:00
Mike Black W9MDB 6d329131af Fix rigctld
https://github.com/Hamlib/Hamlib/issues/1087
2022-07-17 23:39:14 -05:00
Mike Black W9MDB cc7c5961a0 Fix rig_cache to fix up RIG_VFO_OTHER when requested.
https://github.com/Hamlib/Hamlib/issues/1086
2022-07-16 10:53:03 -05:00
Mike Black W9MDB d9c7fda5c9 Add global rig_powerstat so other rigctld clients can see powerstat
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-16 07:54:27 -05:00
Mike Black W9MDB 4d41dd140f Add some #ifdefs for future Apple support if needed
https://github.com/Hamlib/Hamlib/issues/985
2022-07-15 17:43:23 -05:00
Mike Black W9MDB 8be68aacff Default rig->state.powerstat to RIG_POWER_ON in rig_init
https://github.com/Hamlib/Hamlib/issues/1085
2022-07-15 16:41:18 -05:00
Mike Black W9MDB 74aba61978 Default rig_get_powerstat to RIG_POWER_ON when function is not available
https://github.com/Hamlib/Hamlib/issues/1085# Please enter the commit message for your changes. Lines starting
2022-07-15 16:09:49 -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
Mike Black W9MDB 30884ae47e Add amp_set_level and amp_set_ext_level 2022-07-14 08:14:41 -05:00
Mike Black W9MDB 363219e60a Add Gemini DX-1200 HF-1K amplifier 2022-07-10 17:05:44 -05:00