Mike Black W9MDB
5089949f10
Sync github
2024-02-24 11:09:54 -06:00
Mike Black W9MDB
64c470a4e7
Make hamlib_settings error show the real error
2024-02-05 15:00:26 -06:00
George Baltz N3GB
23d5d53248
Port rigs/anytone/, rigs/barrett/ and rigs/codan/
...
Fixup git rebase SMerge error.
2024-02-05 11:28:31 -05:00
George Baltz N3GB
4a1fa678ea
Play catchup with split/VFO revision.
...
Fix typos in rebase fixups.
2024-02-05 11:28:30 -05:00
George Baltz N3GB
3eb41c6400
Cache pointers for src/rig.c
...
Issue #1420 again.
2024-02-05 11:28:30 -05:00
Mike Black W9MDB
267f30d16b
Fix compile warning in rig.c
2024-01-28 09:44:41 -06:00
Mike Black W9MDB
fabfe61a45
Add rig_test_2038 to rig_init so it will show on all systems
...
https://github.com/Hamlib/Hamlib/issues/1478
2024-01-24 15:48:05 -06:00
Mikael Nousiainen
8bb5bcefb9
Merge upstream and fix conflicts
2024-01-21 20:59:54 +02:00
Mike Black W9MDB
7d0c737e96
Fix Icom startup with poweron
...
https://github.com/Hamlib/Hamlib/issues/1480
2024-01-21 11:39:07 -06:00
Mikael Nousiainen
4b3a7514ca
Merge upstream and fix conflicts
2024-01-20 13:08:29 +02:00
Mike Black W9MDB
d391773622
Ensure transmit vfo is used for rig split
2024-01-19 16:44:04 -06:00
Mike Black W9MDB
df64af4583
Suppress no get_vfo message for Icom rigs.
...
No hope of getting Icom to ever provide this ability
2024-01-15 11:18:46 -06:00
Mike Black W9MDB
0e5d2cfc48
Fix tx_vfo default in rig.c
2024-01-15 07:33:21 -06:00
Mike Black W9MDB
4d568c782e
Speed up rig_band_changed actions for FT991 and perhaps others
...
Putting the AC001; command immediately after FA freq change make the band change end state occur immediately
2024-01-15 07:28:22 -06:00
Mikael Nousiainen
eb7634abfb
Merge upstream changes and fix conflicts
2024-01-15 09:24:17 +02:00
George Baltz N3GB
64f69421de
Pointerize all the ports in src/rig.c
2024-01-14 18:13:05 -05:00
George Baltz N3GB
cd1f4d3929
Implement function to get structure address
...
Add AMPPORT and ROTPORT macros
2024-01-14 18:13:05 -05:00
Mike Black W9MDB
05fb4389f7
Fix segfault in rig_bandselect
2024-01-11 07:03:16 -06:00
Mike Black W9MDB
e25fab7d2f
Add band_changed to rig.c
2024-01-10 11:25:44 -06:00
Mike Black W9MDB
ddb0a64272
Reduce debug level for band changing
2024-01-10 09:48:01 -06:00
Mike Black W9MDB
a7d2a5e32b
Seperate rig_band_changed into it's own file included from rig.c
2024-01-10 08:21:18 -06:00
Mike Black W9MDB
2709fb8ab9
Add rig_band_changed function for customization of rig actions on each band
...
This takes user action to customize during build right now.
2024-01-10 07:28:17 -06:00
Mike Black W9MDB
e610d3b691
astyle rig.c
2024-01-10 06:38:37 -06:00
Mike Black W9MDB
cb74453f06
Fix Doppler detection false alarm for WSJT-X's 55 Hz test
2024-01-10 06:37:46 -06:00
Mikael Nousiainen
1cc08d2f00
Merge upstream and fix conflicts
2023-12-19 18:03:12 +02:00
Mikael Nousiainen
3a414c3221
Allow split passband width changes without changing the mode
2023-12-19 10:16:27 +02:00
Mike Black W9MDB
af5ea58350
Add -# --skip_init option to rigctl
2023-12-18 15:26:46 -06:00
Mike Black W9MDB
48b6b4910c
Allow compilation for systems without pthreads
...
https://github.com/Hamlib/Hamlib/issues/1373
2023-12-18 11:56:41 -06:00
Mike Black W9MDB
e267c62764
astyle files
2023-12-16 11:37:58 -06:00
George Baltz N3GB
f4d40e0d79
Restore shared library ABI compatibility with previous hamlibs
...
No need for post_ptt_delay to be in hamlib_port - move it to misc
rig_state data.
Update references to post_ptt_delay
Fix a couple of typos
Add code to actually set post_ptt_delay
Fixes issue #1412
2023-12-04 10:47:52 -05:00
Mike Black W9MDB
698cb10ff3
Re-enable extra get_freq so see if it fixes timeout problem on IC-7100
2023-11-25 22:33:07 -06:00
Mike Black W9MDB
9841e500b9
Fix ptt_share segmentation fault
...
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mike Black W9MDB
f28d674211
Remove unnecessary rig_get_freq
2023-11-22 23:44:15 -06:00
Mikael Nousiainen
b78fa43b56
Fix issues in VFO targeting. Allow IC-9700 to target Sub receiver (requires VFO swapping).
2023-11-14 23:00:37 +02:00
Mikael Nousiainen
dd974a2536
Merge branch 'master' into streamline-vfo-targeting-and-split-functionality
2023-11-14 10:05:52 +02:00
Mikael Nousiainen
e2e723ec60
Simplify/streamline split VFO handling, especially in the Icom backend. Detect reverse split automatically at startup for Icom rigs.
2023-11-14 10:05:17 +02:00
Mike Black W9MDB
e7786cee4c
Fix TS990S SWR read -- strange behavior of RM command reading first RM turned on for read
...
New SWR table too for TS990S
https://github.com/Hamlib/Hamlib/issues/1423
2023-11-12 13:22:02 -06:00
Mikael Nousiainen
4a926ec503
Fix issues found during testing
2023-11-10 20:32:59 +02:00
Mikael Nousiainen
c90c675add
Unify and streamline Icom backend logic for freq/mode and split commands. Allow use of targeted freq/mode whenever possible. Move certain Icom-specific caps to the icom_priv_caps struct to remove rig-specific conditions in generic backend code.
2023-11-09 09:57:23 +02:00
Mikael Nousiainen
89abbfeb3a
Merge master and fix conflicts
2023-11-07 09:41:29 +02: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
Mikael Nousiainen
41c891251f
Fix multicast receiver shutdown by using non-blocking sockets and select(). Use the same port number 4532 for both state snapshots and commands -- it is enough to have different multicast groups for them. Publish multicast state snapshots more often (change detection interval now set to 50ms), but at least at interval defined by poll_interval.
2023-11-03 17:18:49 +02:00
Mikael Nousiainen
5b86d4efff
Bind multicast receiver to INADDR_ANY on Windows, because binding to multicast group IPs doesn't seem to work. Use a different port number for (4351) multicast receiver commands to avoid multicast publisher packets ending up in the receiver (loopback issue).
2023-11-02 18:00:16 +02:00
Mike Black W9MDB
0dbe24ff42
Restore vfo offset lines accidentally removed in rig.c
2023-11-01 16:25:09 -05:00
Mike Black W9MDB
f4f4d122a8
Improve post_ptt_delay behavior
...
https://github.com/Hamlib/Hamlib/issues/1412
2023-11-01 15:54:36 -05: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
Mikael Nousiainen
f89e0f0388
Cleaning up and unifying the Icom backend
2023-10-31 22:38:43 +02:00
Mikael Nousiainen
8ab8aafe48
Streamline VFO targeting and split functionality. Rewrite Icom backend routines to always avoid VFO swapping is the rig supports the 'targetable' commands 0x25 and 0x26. Work in progress.
2023-10-29 10:28:36 +02:00