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