Mike Black W9MDB
1ab828f8ef
Reduce icom.c 0x25 warning to trace level -- the error is expected when rig does not support 0x25
2023-05-04 07:20:16 -05:00
Mike Black W9MDB
d044ad998c
Add retry to icom_get_ptt
...
https://github.com/Hamlib/Hamlib/issues/1283
2023-05-03 16:18:02 -05:00
Mike Black W9MDB
6fadbfb112
Change Icom 0x25 logic to only allow one detection
...
https://github.com/Hamlib/Hamlib/issues/1277
2023-04-25 08:00:43 -05:00
Daniele Forsi IU5HKX
2db37fe7db
Fix typos
2023-03-26 11:01:51 +02:00
Daniele Forsi IU5HKX
8e24746a3e
Fix typos
2023-03-19 22:20:28 +01:00
Daniele Forsi IU5HKX
7211730866
[icom] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
2e894dd9cc
[icom] Remove unused include of config.h
...
Found wih "Include What You Use".
2023-02-14 19:21:18 +01: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
d16b52e414
Fix IC7300 5 second sleep during poweron
...
Reverse ID-5100 logic for dual watch mode
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-22 10:49:15 -06:00
Mike Black W9MDB
0c2426c800
Add 5 second sleep during power on for IC7300
...
https://github.com/Hamlib/Hamlib/issues/1220
2023-01-21 17:21:04 -06:00
Mike Black W9MDB
268f44eb7d
Remove one sleep from set_powerstat loop
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 23:32:18 -06:00
Mike Black W9MDB
3daed948a8
Make auto_power_on a bit more robust for RigPI which seems slow to get going
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 23:27:27 -06:00
Mike Black W9MDB
9d096c4ac9
Improve powerstat on/off behavior for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-18 15:00:18 -06:00
Mike Black W9MDB
9861d1f87b
Add dual watch capability for ID-5100
...
https://github.com/Hamlib/Hamlib/issues/1218
2023-01-18 08:49:11 -06:00
Mike Black W9MDB
dc131cba7f
Fix set_powerstat on/off/on for Icom rigs using rigctld power_on=0
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-10 08:46:10 -06:00
Mike Black W9MDB
aa1cf567f6
Fix Icom poweron behavior
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-09 12:34:22 -06:00
Mike Black W9MDB
89fadca3bd
For Icom rigs close and reopen rig after set_powerstat=1 -- Linux resets the usb device
...
https://github.com/Hamlib/Hamlib/issues/1212
2023-01-09 09:50:25 -06:00
Mike Black W9MDB
87cc9a8c3d
Update ID5100 and ID4100
...
Promote ID5100 to stable
https://github.com/Hamlib/Hamlib/issues/1204
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1202
2023-01-04 15:40:36 -06:00
Mike Black W9MDB
af9a7a6938
Make 3-byte Icom ID rigs show error message
2023-01-04 10:48:30 -06:00
Mike Black W9MDB
138795668f
Fix ID5100 get/set_mode
...
Remove ID rigs freq_len check as civ_731 setting should cover it
https://github.com/Hamlib/Hamlib/issues/1204
2023-01-04 06:57:12 -06:00
Mike Black W9MDB
9c5809ffba
Fix units for get freq for ID5100 ID4100 ID31 ID51
...
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-03 17:54:04 -06:00
Mike Black W9MDB
1b6b78f54a
Another attempt to fix get/set freq for ID5100 ID4100 ID31 ID51
...
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-03 12:17:16 -06:00
Mike Black W9MDB
4c09344f32
Convert Icom 3-byte frequency to Hz from KHz
...
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 23:04:54 -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
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
7068378a91
Add data mode and targetable freq/mode to Xiegu X6100
...
https://github.com/Hamlib/Hamlib/issues/1154
2022-11-20 11:41:15 -06:00
Mike Black W9MDB
6c5e0e6974
Update astyle formatting
2022-11-16 15:30:36 -06:00
Mike Black W9MDB
2993ca9e62
Fix segfault in icom_get_powerstat
2022-11-08 15:09:09 -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
b2cf596b54
IC7300 cannot get powerstat so use get_freq instead. There are likely more Icom rigs like this
2022-11-01 14:51:47 -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
6bd5ab89b6
Remove incorrect debug line in icom.c
2022-09-22 15:39:42 -05:00
Mike Black W9MDB
67b933ddb5
Update astyle for 4.5 release
2022-09-20 08:46:28 -05:00
Mike Black W9MDB
224ccc7839
Fix filter set for IC375 and promote to stable
...
https://github.com/Hamlib/Hamlib/issues/1113
2022-09-09 14:01:43 -05:00
Mike Black W9MDB
9cb511af00
Add some debug for Icom use_cached variables
...
https://github.com/Hamlib/Hamlib/issues/1108
2022-09-05 12:21:45 -05:00
Mike Black W9MDB
5701e73e1e
Fix valgrind warning
...
https://github.com/Hamlib/Hamlib/issues/1108
2022-08-31 08:57:00 -05:00
Mike Black W9MDB
7e51932a9e
Remove some debug from icom.c
2022-08-29 10:11:40 -05:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
6965927fb4
Add IC275 to icom rigs that can't do 0x25
2022-08-19 07:55:20 -05:00
Mike Black W9MDB
e8c36b2b4b
Add some more rigs to icom.c that do not use 0x25/0x26 commands
2022-08-01 17:25:10 -05:00
Mike Black W9MDB
0b059cdb93
Fix icom.c debug statement
2022-08-01 13:24:10 -05:00
Mike Black W9MDB
6bd647f4ed
Fix X5105 detection
2022-08-01 13:06:21 -05:00
Mike Black W9MDB
51650e9425
Remove get_dsp_flt for Xeigu X5105
2022-08-01 12:53:34 -05:00
Mike Black W9MDB
2b7c2ab5ce
Fix all Icom rigs AGC values for correct printout with dumpcaps
...
https://github.com/Hamlib/Hamlib/issues/1096
2022-07-29 23:44:17 -05:00
Mike Black W9MDB
4385b50b1f
Add Xiegu X5105 from G90 config
2022-07-28 10:33:07 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
05941406da
This broke Icom rigs.
...
Revert "Improve debug output on icom_get_vfo to note Icom's inability to get current vfo"
This reverts commit 02b2dad5b0
.
2022-07-22 15:51:22 -05:00
Mike Black W9MDB
02b2dad5b0
Improve debug output on icom_get_vfo to note Icom's inability to get current vfo
2022-07-22 12:57:11 -05:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
5e6c1eaef8
Rename TRACE to HAMLIB_TRACE to avoid conflict with MSVC
2022-07-04 07:26:30 -05:00
Mike Black W9MDB
04b9353d88
Change fix for IC9700 satmode to be more generic
...
https://github.com/Hamlib/Hamlib/issues/1059
2022-06-30 08:15:49 -05:00
Mike Black W9MDB
aa616b3707
For Icom rigs return bandwidth of 12000 for FM mode
...
https://github.com/Hamlib/Hamlib/issues/1066
2022-06-29 15:43:49 -05:00
Mike Black W9MDB
cd2b734150
Prevent IC9700 from using 0x25 0x26 commands when in satmode
...
https://github.com/Hamlib/Hamlib/issues/1059
2022-06-29 15:40:41 -05:00
Mike Black W9MDB
763836881f
Reverse selected vfo logic for 0x25 command when in split and ptt is on for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/1048
2022-06-01 12:29:12 -05:00
Mike Black W9MDB
8cc4d59cbb
Change rig->caps-retry to rig->state.rigport.retry
...
https://github.com/Hamlib/Hamlib/issues/1037
2022-05-25 10:48:16 -05:00
Mike Black W9MDB
6f9d057162
astyle files getting ready for release
2022-05-13 16:50:13 -05:00
Mike Black W9MDB
ed1f0a22dc
Fix missing semicolon in icom.c
2022-05-13 11:06:53 -05:00
Mike Black W9MDB
3aa8f31dcd
Start excluding some Icom rigs from checking x25 command
...
Rigs like IC-751 don't even reject it and have to time out
2022-03-26 09:18:52 -05:00
Mike Black W9MDB
56fc193323
Add IC-756 to list of Icom rigs that don't support dsp
...
https://github.com/Hamlib/Hamlib/issues/997
2022-03-24 17:55:59 -05:00
Mike Black W9MDB
d6cfef6963
In icom.c rig_open limit 0x25 to one try
...
Start eliminating rigs that will never have 0x25 too like the IC-751 for starters
2022-03-23 23:02:49 -05:00
Mike Black W9MDB
92161c989a
Balance RETURNFUNC
2022-02-19 16:50:35 -06:00
Mike Black W9MDB
453e831d63
Balance RETURNFUNC
2022-02-19 16:33:16 -06:00
Mike Black W9MDB
599761f196
Improve 0x25 0x26 debug msg a bit
2022-02-06 23:27:39 -06:00
Mike Black W9MDB
524dd1f8c2
Balance ENTER/RETURN FUNC in icom.c
2022-02-06 23:24:33 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
afd595d2da
Allow asyncio rigs to use cached-only values for rig_get_freq and rig_get_mode
...
https://github.com/Hamlib/Hamlib/issues/894
2022-01-29 08:39:27 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mikael Nousiainen
664604f7b6
Make icom_rig_open() fail in case rig_set_powerstat() failure is auto_power_on is requested. Exit rigctld client loop if process is interrupted.
2022-01-23 11:49:16 +02:00
Mikael Nousiainen
1f428c8d95
Allow icom_rig_open() to succeed even if the rig is powered off. Fix issues with async I/O error code propagation. Allow rigctld daemon to start even if rig is powered off. Add mutex locks around rig_open()/rig_close() calls as multiple client connections could end up calling them concurrently, which could lead to all kinds of issues as the functions are not meant to be thread-safe. This also blocks execution of rigctl commands during rig open/close.
2022-01-22 23:19:07 +02:00
Mikael Nousiainen
5b9feffa78
Fix Icom dual watch set command. Make rotator macro name buffer larger, as the macro names are longer than the space allocated.
2022-01-18 19:02:01 +02:00
Mike Black W9MDB
2422de0951
Add IC-910 to the Icom rigs that don't use the filter byte
...
https://github.com/Hamlib/Hamlib/issues/929
2022-01-16 15:51:01 -06:00
Mike Black W9MDB
ea76b9e495
Replace sprintf with snprintf in icom.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-10 23:22:38 -06:00
Mike Black W9MDB
5735441205
Fix set_mode_with_data for IC-7200
...
https://github.com/Hamlib/Hamlib/issues/921
2022-01-05 22:58:30 -06:00
Mike Black W9MDB
e9038f7c41
Add Xeigu G90 and fix spelling
2021-12-29 09:36:54 -06:00
Mike Black W9MDB
86a6ffb19e
Add Xeigu X6100
2021-12-27 23:23:26 -06:00
Mike Black W9MDB
1048cbb568
Add RIG_FUNC_DUAL_WATCH for IC-9700 and IC-9100
2021-12-26 22:39:57 -06:00
Mike Black W9MDB
52e856dbbe
Add IC-F8101 rig
2021-12-24 13:04:47 -06:00
Mike Black W9MDB
8c5816c53c
During icom power on 0xfe may get echoed after power on so ensure we look for it and remove it
...
https://github.com/Hamlib/Hamlib/issues/900
2021-12-22 09:16:17 -06:00
Mike Black W9MDB
cee10db2cd
Ensure power on 0xfe's are flushed for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/900
2021-12-22 08:22:24 -06:00
Mike Black W9MDB
f12b4187e4
Fix another icom.c compile warning
2021-12-20 09:37:41 -06:00
Mike Black W9MDB
367023db31
Fix icom.c compile warning for Windows as %z format not supported in MinGW
2021-12-20 09:30:27 -06:00
Mike Black W9MDB
783ae504a7
Fix comipile warning in icom.c
2021-12-20 09:23:01 -06:00
Mikael Nousiainen
0fe723d6fa
Add some info about disabling cache timeouts
2021-12-19 22:56:24 +02:00
Mikael Nousiainen
cd9a24b72e
Merge upstream changes and fix conflicts
2021-12-18 23:53:42 +02:00
Mike Black W9MDB
c6c18c0903
Reduced timeout on Icom startup
...
Reduce time to start up when powering up Icom
2021-12-15 16:36:34 -06:00
Mike Black W9MDB
09aae91d37
Add some debug to icom.c chasing down bug
...
https://github.com/Hamlib/Hamlib/issues/885
2021-12-13 12:52:03 -06:00
Mike Black W9MDB
32ce1bae50
Fix no-autopower and echo off for Icom
...
https://github.com/Hamlib/Hamlib/issues/885
2021-12-12 23:42:00 -06:00
Mikael Nousiainen
56c95b1529
Merge upstream changes and fix conflicts
2021-12-12 23:05:26 +02:00
Mike Black W9MDB
add666f891
Fix Icom echo off not working
...
https://github.com/Hamlib/Hamlib/issues/885
2021-12-12 13:18:24 -06:00
Mikael Nousiainen
d857f18163
Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far.
2021-11-28 20:52:29 +02:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
ba407cfcdf
Fix RIG_VFO_OTHER in icom.c set_vfo
...
https://github.com/Hamlib/Hamlib/issues/853
2021-11-20 17:02:48 -06:00
Mikael Nousiainen
1f538ad7ec
Started work on asynchronous reader thread to enable handling of rig tranceive and waterfall data (WIP)
2021-11-20 21:33:29 +02:00
Mike Black W9MDB
470d3b7c4f
All icom_open to do 1 retry
...
https://github.com/Hamlib/Hamlib/issues/868
2021-11-14 11:51:14 -06:00
Mike Black W9MDB
3b927a81eb
Fix icom filter number for 0x26 command -- filter should not change now at all from what the user sets.
...
https://github.com/Hamlib/Hamlib/issues/854
2021-11-07 12:39:54 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
c83949ae6d
For Icom rigs like IC910H and IC9700 Main/Sub are only used for split and satmode
...
Otherwise VFOA/B can be used on either Main or Sub VFOs
So if Main is requested and not in split/satmode then VFOA is assumed -- this case was fixed
And if Sub is requested and not in split/satmode then VFOB is assumed -- this was already true
https://github.com/Hamlib/Hamlib/issues/832
2021-10-20 15:56:11 -05:00
Mike Black W9MDB
569f21c7fe
Revert "Start to normalize Icom cmd detection"
...
This reverts commit 1ade49f3d5
.
2021-10-17 16:02:30 -05:00
Mike Black W9MDB
80f7378bf5
Arrgghhh..fix spelling of PKTLSB
2021-10-17 13:14:57 -05:00
Mike Black W9MDB
3dde8030a0
Add PKTUSB PKTLSB to allowed rig modes for Icom in set_dsp_flt
2021-10-17 13:11:11 -05:00
Mike Black W9MDB
1ade49f3d5
Start to normalize Icom cmd detection
2021-10-17 13:10:15 -05:00
Mike Black W9MDB
6c43e5c6ac
Fix bogus "not supported" message when icom_set_mode_x26 is called
2021-10-16 23:29:05 -05:00
Mike Black W9MDB
83b7243946
Change icom_set_mode_with_data to reuse existing filter# if RIG_PASSBAND_NOCHANGE is requested
...
https://github.com/Hamlib/Hamlib/issues/827
2021-10-15 12:56:17 -05:00
Mike Black W9MDB
16a879bc72
Fix icom_set_mode_x26
...
https://github.com/Hamlib/Hamlib/issues/811
2021-10-13 16:02:40 -05:00
Mike Black W9MDB
c7acbc19de
Improve Icom rigs with 1A 03 command and add some debug
...
https://github.com/Hamlib/Hamlib/issues/811
2021-10-13 11:53:45 -05:00
Mike Black W9MDB
fecc7d42aa
Hopefully fixed auto_power_on for IC-7610 and IC-9700
...
But it takes ~4 seconds on IC-7300 to power on 14 seconds to time out when the rig does not respond at all
https://github.com/Hamlib/Hamlib/issues/815
2021-10-05 11:40:54 -05:00
Mike Black W9MDB
ca9a45c93e
Reduce icom auto_power_on timeout from 15 seconds to just over 5 seconds
...
https://github.com/Hamlib/Hamlib/issues/815
2021-10-04 17:34:09 -05:00
Mike Black W9MDB
068544eccb
Fix icom_set_mode_with_data to also set filter width
...
https://github.com/Hamlib/Hamlib/issues/811
2021-10-02 23:17:36 -05:00
Mike Black W9MDB
0018422d46
Add another check for icom_set_mode to skip if both mode and width are not changing
2021-10-02 22:59:19 -05:00
Mike Black W9MDB
eadd1da009
Fix IC7300 (and other Icoms) set/get_dsp_filter
...
All Icoms will now try the 1A 03 command once and if it is rejected won't try again.
https://github.com/Hamlib/Hamlib/issues/811
2021-10-02 17:33:21 -05:00
Mike Black W9MDB
a2b3a8d67e
Disable icom_get_vfo as user twiddling VFO knob does not work while polling
...
current_vfo is still determined at startup
https://github.com/Hamlib/Hamlib/issues/806
2021-09-29 05:46:53 -05:00
Mike Black W9MDB
8399b4b4dc
For Icom get_vfo make the same change as last commit for other Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/806
2021-09-28 14:06:50 -05:00
Mike Black W9MDB
3a76cb1b40
For Icom get_vfo when freqs are equal will only check vfo 1 time
...
This means get_vfo will not follow rig button pushes when freqs are equal
https://github.com/Hamlib/Hamlib/issues/806
2021-09-28 12:01:50 -05:00
Mike Black W9MDB
aae3ec4996
Allow IC-7300 and many other Icom rigs to find current vfo on startup
...
Icom rigs that do not have 0x25 or XCHG cannot do this yet which are older Icom rigs
XCHG rigs cannot get_vfo while transmitting but 0x25 rigs can
https://github.com/Hamlib/Hamlib/issues/806
2021-09-26 17:03:47 -05:00
Mike Black W9MDB
421c6e7c4e
Fix icom.c get_mode to not ask for unselected VFO when VFO_CURR is requested
...
https://github.com/Hamlib/Hamlib/issues/806
2021-09-22 10:40:56 -05:00
Mike Black W9MDB
a94dcddcf4
Fix ICOM request for VFOB info when VFOB is active vfo
...
https://github.com/Hamlib/Hamlib/issues/806
2021-09-21 12:17:17 -05:00
Mike Black W9MDB
ecea9da847
Remove unused value set in icom.c
2021-09-11 09:54:19 -05:00
Mike Black W9MDB
ec2d5387a7
Remove shadowed declaration from icom.c
2021-09-11 09:53:17 -05:00
Mike Black W9MDB
02f0ae986f
Remove always true clause from icom.c
2021-09-11 09:48:36 -05:00
Mike Black W9MDB
a85d6891c7
Fix return path in icom.c
2021-09-11 05:43:19 -05:00
Mike Black W9MDB
6e5bc09b27
Fix potential buffer underflow in icom.c
2021-09-11 05:41:25 -05:00
Mike Black W9MDB
f2c60aa33a
Since Icom rigs default to filter 2 if a filter is not selected we will do the same when turning on data mode
...
https://github.com/Hamlib/Hamlib/issues/791
2021-09-07 17:52:44 -05:00
Mike Black W9MDB
e900b4f9dc
Change set_icom_set_mode_with_data to not change mode unless necessary
...
Should allow filters to stay where they are set if USB-D is the starting mode
https://github.com/Hamlib/Hamlib/issues/791
2021-09-07 17:44:57 -05:00
Mike Black W9MDB
acac64c116
Really fix icom_set_func so that it can also turn off DUAL_WATCH
2021-09-01 09:08:13 -05:00
Mike Black W9MDB
004efafda7
Remove unnecessary set_mode command from TARGETABLE_MODE Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-08-28 17:09:27 -05:00
Mike Black W9MDB
996dbbfa1a
Remove override of PKTUSB mode for Icom rigs -- don't think we need this
...
Was causing mode toggling on IC7300 during PTT transitions in JTDX
2021-08-28 10:21:16 -05:00
Mike Black W9MDB
06513a6869
Remove another unneeded vfo swap from icom rigs
...
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-08-27 17:24:31 -05:00
Mike Black W9MDB
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Wouter van Gulik
9aec383329
Simplify get_ant by having setting to unknown by default.
...
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Mike Black W9MDB
547bd0fb55
Fix ANT get/set for IC756Pro series
...
https://github.com/Hamlib/Hamlib/issues/774
2021-08-22 16:40:48 -05:00
Wouter van Gulik
83a8b98a86
icom.c: Drop width check. Other code assumes != NULL.
...
I am not sure if the intention was to check for width == default.
But that never worked, so for now do not change behaviour.
2021-08-21 20:36:10 +02:00
Mike Black W9MDB
014bc04ddf
Fix Icom rigs to use 0x25 command if capable
...
Fixes #1 and and #2 in the issue
https://github.com/Hamlib/Hamlib/issues/762
2021-08-13 07:42:39 -05:00
Mike Black W9MDB
4bfd71f91f
Fix Icom split and implement reverse split
...
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB
a092f1f630
Fix spelling error in icom.c
2021-07-19 22:58:19 -05:00
Mike Black W9MDB
756f8052fc
Minimize 0x25cmdfails resets to only when satmode changes
...
https://github.com/Hamlib/Hamlib/issues/741
2021-07-15 10:19:33 -05:00
Mike Black W9MDB
6bdb82bc54
Fix some vfo swapping issues for Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/734
2021-07-08 13:14:42 -05:00
Mike Black W9MDB
65c77953f8
Add MainA/B SubA/B to icom.c
...
https://github.com/Hamlib/Hamlib/issues/730
2021-07-05 17:04:24 -05:00
Mike Black W9MDB
dd0187ede6
Fix Icom rig 0x25 command for set mode with data and no width change
...
Fix Icom rigs not working with rigtctld and 0x25 command
https://github.com/Hamlib/Hamlib/issues/733
2021-07-03 22:16:33 -05:00
Mike Black W9MDB
763e18fa42
Fix get_mode_with_data for IC7800 as it can set but not read mode with 0x26 command
...
https://github.com/Hamlib/Hamlib/issues/725
2021-06-14 07:52:29 -05:00
Mike Black W9MDB
f41bcaa71a
Add IC-575 rig
2021-06-03 16:13:58 -05:00
Mike Black W9MDB
d9d562874d
Fix compilation warning in icom.c
2021-05-31 08:36:45 -05:00
Mikael Nousiainen
3a67356bc1
Add some comments and improved debugging on SIGIO async data handling
2021-05-31 16:22:22 +03:00
Mikael Nousiainen
263c16984a
Attempt to handle asynchronously pushed Icom CI-V frames (transceive and spectrum data) as these frame will get interleaved with command responses
2021-05-30 01:36:49 +03:00
Mikael Nousiainen
12527581b0
Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs.
2021-05-27 10:12:01 +03:00
Mikael Nousiainen
26ea916ca7
Implement Icom rig levels: SPECTRUM_EDGE_LOW and SPECTRUM_EDGE_HIGH
2021-05-27 01:09:01 +03:00