Michael Black
2d2d5009e0
Merge pull request #1415 from mikaelnousiainen/hamlib-multicast-2
...
Add rig communication status to rig_state and multicast packets
2023-11-05 16:55:13 -06:00
Mike Black W9MDB
337fb0f3e5
Add SWR reading for PowerSDR/Thetis
2023-11-05 16:45:15 -06:00
Mikael Nousiainen
43d1fbb323
Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld.
2023-11-06 00:42:02 +02:00
Mikael Nousiainen
f8814732a2
Merge master and fix conflicts
2023-11-05 13:23:35 +02:00
Mike Black W9MDB
6cb17e49dc
Add post_ptt_delay for situations where more time is needed for external relay operations
...
Detect Doppler frequency changes for Kenwood rigs and avoid querying frequency...just set it...to provide stable timing
https://github.com/Hamlib/Hamlib/issues/1412
2023-10-31 17:34:31 -05:00
Mikael Nousiainen
c8c8869a3c
Refactor multicast publisher and rig poll routine. Create skeleton for multicast command server.
2023-11-01 00:26:37 +02:00
Mike Black W9MDB
464fa3f478
Revert "Promote token_t to unsigned long long"
...
This broke several things -- have to do this inside kenwood.c instead
This reverts commit 01292b261f
.
2023-10-21 12:39:47 -05:00
George Baltz N3GB
9a22b39fcd
Add RIG_LEVEL_USB_AF_INPUT to RIG_LEVEL_FLOAT_LIST
2023-10-21 10:24:42 -04:00
George Baltz N3GB
05823482a0
Fix duplicate level definition
2023-10-20 18:23:29 -04:00
Mike Black W9MDB
01292b261f
Promote token_t to unsigned long long
...
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-19 23:35:20 -05:00
Mike Black W9MDB
f5f8694a70
Add RIG_LEVEL_USB_AF_INPUT
...
Add RIG_LEVEL_USB_AF and RIG_LEVEL_USB_AF_INPUT to ts590.c
More rigs to be updated for this
2023-10-18 16:47:29 -05:00
Mike Black W9MDB
534fe449a2
Fix more cppcheck items
2023-10-13 17:36:29 -05:00
Mike Black W9MDB
d72127f29a
Fix cppcheck warnings
2023-10-11 23:22:42 -05:00
Mike Black W9MDB
e68b6f98b5
Add RIG_CONF_INT
...
Fix AGC_LAST value thanks to cppcheck
2023-10-08 17:18:16 -05:00
Mike Black W9MDB
4175929a48
More changes from cppcheck
2023-10-06 22:59:55 -05:00
Mike Black W9MDB
d4cf8a04d7
Change iofunc.c to read FLRig more efficiently
...
https://github.com/Hamlib/Hamlib/issues/1394
2023-10-04 17:30:02 -05:00
Mike Black W9MDB
3b5f7a6dcf
Add and fix some cppcheck suppress items
...
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
George Baltz N3GB
84ca35f19e
Fix inverted VHF/UHF BANDSELECT labels
2023-10-02 12:55:01 -04:00
Mike Black W9MDB
4f65288c32
Fix multicast_stop DLL export
...
https://github.com/Hamlib/Hamlib/issues/1090
2023-09-14 10:01:06 -05:00
Mike Black W9MDB
ee807a7541
Prevent multicast from doing rig queries at all for now -- threading contention needs to be addressed
...
https://github.com/Hamlib/Hamlib/issues/695
2023-09-14 08:55:21 -05:00
Mike Black W9MDB
c07e40e18b
Fix memory channgle in FTDX101 and FTDX101MP
...
Add tag data to memsave.c
Fix RVF error for Elecraft K3
2023-09-08 17:05:34 -05:00
Mike Black W9MDB
42b6fb13f9
Remove hamlib/config.h from nobase_include_HEADERS
...
https://github.com/Hamlib/Hamlib/issues/1373
2023-08-26 10:13:54 -05:00
Mike Black W9MDB
b40da0f6b0
Increase send_morse size to use maximum for rigs or 20 chars (if morse_qsize unknown)
...
This will still allow for up to 1023 characater to queue up.
No guarantees on which rigs allow for this queuing though.
Kenwood rigs can at least find the buffer status to wait for room but not all rigs do.
https://github.com/Hamlib/Hamlib/issues/1368
2023-08-19 12:36:07 -05:00
Mike Black W9MDB
3814f2dadf
Add set_voice_mem and stop_voice_mem for K3/K3S/K4
...
https://github.com/Hamlib/Hamlib/issues/1367
2023-08-18 16:49:35 -05:00
Mike Black W9MDB
0edd1df223
Add more KEYERTYPE implementaions to Icom rigs
2023-08-18 00:04:59 -05:00
Mike Black W9MDB
8c63fdeafc
Add KEYERTYPE for IC-7300, IC-705, IC-9700
...
https://github.com/Hamlib/Hamlib/issues/1363
2023-08-17 17:52:03 -05:00
Mike Black W9MDB
e887152407
Fix parm_gran
...
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -05:00
Mike Black W9MDB
d7d450df49
Add parm BANDSELECT for Yaesu rigs
...
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mike Black W9MDB
c251a075ab
Fix MAC build
2023-07-30 09:49:10 -05:00
Mike Black W9MDB
ddb128bbf7
Make fifo.c thread safe
2023-07-30 07:55:28 -05:00
Mike Black W9MDB
bbdd1dc312
Add new rig FT9000Old version that does not have VS command
2023-07-24 22:41:00 -05:00
Mike Black W9MDB
9ad070c33f
Add gpio command to rigctl(d) usable with pttport setting CM108
...
e.g. to set gpio2 on use 'gpio GPIO2 1" and off "gpio GPIO2 0"
Should work with GPIO1-4
New API funcions rig_cm108_get_bit rig_cm108_set_bit
https://github.com/Hamlib/Hamlib/issues/1121
2023-07-22 10:32:25 -05:00
Mike Black W9MDB
56ad3ac1ef
Update SLICE information in rig.h
2023-07-17 17:42:34 -05:00
Mike Black W9MDB
fdc074e1b8
Rename FIFO to FIFO_RIG to avoid collision with freedv FIFO
2023-07-10 06:57:11 -05:00
Mike Black W9MDB
04c65d9d7e
Add Quisk as a rig
2023-07-09 23:06:05 -05:00
Mike Black W9MDB
d22653a69d
Fix stop_morse to work with new send_morse
2023-07-09 17:04:39 -05:00
Mike Black W9MDB
e9fd0fba40
send_morse now uses a fifo queue and can send up to 1024 chars in one message
...
it relies on the rig backend returning an error when the rig's CW queue is full
2023-07-09 16:51:33 -05:00
Mike Black W9MDB
bcad19d563
Add morse_data items
2023-07-07 22:34:45 -05:00
Mike Black W9MDB
25ad13cea9
Add BG2FX FC4/C/CR/L
2023-06-28 12:48:30 -05:00
Mike Black W9MDB
1c2033c17f
Add comment to rig.h about not modifying callbacks structure
2023-06-18 07:45:45 -05:00
Mike Black W9MDB
ebedbbbfb5
Clean up debug a bit
2023-06-09 22:51:54 -05:00
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
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
92363f6b0c
Re-add field to rig_state for DLL alignment
...
https://github.com/Hamlib/Hamlib/issues/1299
2023-06-06 15:12:52 -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
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
5745457d7f
Fix anytone thread deletion
2023-05-30 22:10:19 -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
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
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
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
Mike Black W9MDB
7236942d89
Adding Expert Linear amplifier
2023-03-28 17:08:40 -05: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
3c94527fb6
Fix Doxygen documentation for the GRBLTRK rotators
...
Fixes:
.../include/hamlib/rotlist.h:642: warning: documentation for unknown define ROT_MODEL_GRBLTRK found.
.../include/hamlib/rotlist.h:651: warning: Member ROT_MODEL_GRBLTRK_SER (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:652: warning: Member ROT_MODEL_GRBLTRK_NET (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:651: warning: Member ROT_MODEL_GRBLTRK_SER (macro definition) of group rotator is not documented.
.../include/hamlib/rotlist.h:652: warning: Member ROT_MODEL_GRBLTRK_NET (macro definition) of group rotator is not documented.
2023-03-19 19:08:05 +01:00
Daniele Forsi IU5HKX
38cc75c568
Fix Doxygen documentation for the Apex rotator
...
Fixes:
.../include/hamlib/rotlist.h:672: warning: documentation for unknown define ROT_MODEL_APEX found.
.../include/hamlib/rotlist.h:680: warning: Member ROT_MODEL_APEX_SHARED_LOOP (macro definition) of group rotator is not documented.
2023-03-19 19:07:51 +01:00
Daniele Forsi IU5HKX
6de5aa7838
Fix Doxygen unmatched directives \cond and \endcond
2023-03-19 18:42:24 +01:00
Matthew J. Wolf
f5c26bf235
Inital add of rotator saebrtrack
2023-03-10 13:03:14 -05: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
41a8a50e65
Add SDR# rig for use with SDR#'s gpredict pluigin -- can only get/set freq
2023-01-27 17:31:24 -06:00
Mike Black W9MDB
50a14bb08f
Add ACLog rig -- should work with WSJT_X and Fake It mode -- mode setting is a bit odd though might need None for mode in WSJT-X and manually set rig
2023-01-20 12:47:52 -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
64c566cd14
Add QRPLabs QCX/QDX for better behavior/capability from ts480 entry
2022-12-30 16:04:39 -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
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
PianetaRadio
9eecfc3b2d
Update rotlist.h
...
Add Elevation rotator with Control box responding to azimuth logic
2022-12-15 18:24:55 +01: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
34ef939350
Remove unused include of stdarg.h
2022-12-09 18:05:18 +01:00
andz
0cc4ca778d
Merge branch 'Hamlib:master' into master
2022-11-30 15:50:38 +01:00
Mike Black W9MDB
427ca8d90f
For FT736 add TARGETABLE_MODE and fix set_mode to work with VFOB
...
https://github.com/Hamlib/Hamlib/issues/1160
2022-11-27 22:22:40 -06:00
andz
82ef0a39bf
Initial adding FLIR PTU rotator
2022-11-26 01:04:36 +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
1a4745a7c2
Split MDS 4710/9710
2022-11-16 16:50:33 -06:00