Wykres commitów

274 Commity (ffb61c29a5aa0eca95d4cf62e3cb15c610a223ce)

Autor SHA1 Wiadomość Data
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 6965927fb4 Add IC275 to icom rigs that can't do 0x25 2022-08-19 07:55:20 -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 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
Mike Black W9MDB b1369f9458 Fix ic9700 segfault
https://github.com/Hamlib/Hamlib/issues/1078
2022-07-07 22:10:49 -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 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 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 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 987af84908 Update version in icom.h 2022-01-23 11:50:04 -06: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 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 52e856dbbe Add IC-F8101 rig 2021-12-24 13:04:47 -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
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 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 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 d9d247cad3 Add rig_lock to icom.c -- testing multicast capability
https://github.com/Hamlib/Hamlib/issues/695
2021-11-15 07:23:18 -06: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 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 1ade49f3d5 Start to normalize Icom cmd detection 2021-10-17 13:10:15 -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 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 75408098a4 Change Icom frame.c to only look for 0xfd for end of frame. Was not seeing error frames]
https://github.com/Hamlib/Hamlib/issues/818
2021-10-10 16:27:58 -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 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 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 6e5bc09b27 Fix potential buffer underflow in icom.c 2021-09-11 05:41:25 -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 ee56688003 Fix icom_set_func so that it can also turn off DUAL_WATCH
In ic756.c remove ic756_set_func and use icom_set_func instead
2021-09-01 09:00:56 -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 547bd0fb55 Fix ANT get/set for IC756Pro series
https://github.com/Hamlib/Hamlib/issues/774
2021-08-22 16:40:48 -05: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 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
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 b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03:00
Mike Black W9MDB e84b8a3c99 Add special check for IC821H in icom_set_vfo
Seems the IC821H reverses Main/Sub logic when in satmode
Remove IC821 from riglist.h and icom.c -- not used
https://github.com/Hamlib/Hamlib/issues/693
2021-05-07 08:25:54 -05:00
Mike Black W9MDB 2dd87806cf Remove 3 second sleep from icom.c powerup 2021-04-30 15:59:43 -05:00
Mike Black W9MDB 9a82ebf652 Make icom.c 0x25 cmd check only try once
https://github.com/Hamlib/Hamlib/issues/685
2021-04-27 10:00:10 -05:00
Mike Black W9MDB 870b9ca748 In icom.c add check for current vfo to avoid vfo swapping
https://github.com/Hamlib/Hamlib/issues/665
https://github.com/Hamlib/Hamlib/issues/654
2021-04-19 09:51:58 -05:00
Mike Black W9MDB cd82a2c008 In icom.c fix reading VFOB width when 0 and set to VFOA width
https://github.com/Hamlib/Hamlib/issues/665
https://github.com/Hamlib/Hamlib/issues/654
2021-04-18 22:46:50 -05:00
Mike Black W9MDB 7ea4fd17aa Fix icom.c default vfo to usa VFOA/Main as appropriate
https://github.com/Hamlib/Hamlib/issues/654
2021-04-08 22:37:36 -05:00
Michael Black W9MDB fffaf27f87 Change icom.c to use Main instead of Main_A and Sub instead of Main_B
https://github.com/Hamlib/Hamlib/issues/637
2021-03-30 11:48:25 -05:00
Michael Black W9MDB 4135a65503 Add TARGETABLE_FREQ and TARGETABLE mode to IC7300 IC7610 IC7800 IC785X IC9700
This reduces VFO swapping during get_freq and get_mode operations
Log4OMV2 2.0.12 supports vfo mode using new get_vfo_info call
New debug level RIG_DEBUG_CACHE as it can get very verbose
https://github.com/Hamlib/Hamlib/issues/626
2021-03-26 10:54:11 -05:00
Michael Black W9MDB f0a82fa2bf Fix icom.c vfo detection
https://github.com/Hamlib/Hamlib/issues/624
2021-03-22 07:54:46 -05:00
Michael Black W9MDB 80e199b302 Add satmode detection for Icom rigs like IC9700
In satmode VFOB/Sub now maps to SubA (2nd VFO)
https://github.com/Hamlib/Hamlib/issues/621
2021-03-20 08:07:16 -05:00
Michael Black W9MDB 950163f1a4 Rigs like IC9700 with MainA/B will have VFOA/Main mapped to MainA and VFOB/Sub mapped to MainB
No known use for SubA/SubB yet
https://github.com/Hamlib/Hamlib/issues/621
2021-03-19 23:36:33 -05:00
Michael Black W9MDB c1277b170e Fix Icom icom_get_usb_echo_off to read the freq response when echo is on
This takes into account whatever the response time of the rig is
https://github.com/Hamlib/Hamlib/issues/615
2021-03-18 22:46:45 -05:00
Michael Black W9MDB 0942553687 Fix icom_get_raw_buf
https://github.com/Hamlib/Hamlib/issues/612#issuecomment-800404923
2021-03-16 12:29:01 -05:00
Michael Black W9MDB d66e0b9807 Narrow the Icom NAK packet check to only 6 byte frames
https://github.com/Hamlib/Hamlib/issues/607
2021-03-14 16:43:17 -05:00
Michael Black W9MDB dff7bdd7a7 For icom recognize bad command return packets e.g. fe fe e0 50 fa fd
https://github.com/Hamlib/Hamlib/issues/607
2021-03-13 08:03:53 -06:00
Michael Black W9MDB 803a8d9e5e Fix icom.c logic to not reject good answers
https://github.com/Hamlib/Hamlib/issues/596
2021-03-10 11:49:47 -06:00
Michael Black W9MDB ef2e8a4d94 Change all icom calls to explicitly check for ACK/NAK
If neither is received a timeout error occurs so a retry will be done
Serial corruption was causing NAK rejects which was the wrong way to handle it
https://github.com/Hamlib/Hamlib/issues/587
2021-03-06 09:22:21 -06:00
Michael Black W9MDB 2c20b0afdb After echo check to a get_freq in icom.c
Should fix poweron for Icom rigs that still echo in standby mode
https://github.com/Hamlib/Hamlib/issues/583
2021-03-05 07:32:01 -06:00
Michael Black W9MDB 1473793f14 Change icom echo detection to a more robust solution.
https://github.com/Hamlib/Hamlib/issues/583
2021-03-04 11:01:23 -06:00
Michael Black W9MDB 3ca0313fb4 Implement RETURNFUNC in icom.c
https://github.com/Hamlib/Hamlib/issues/514
2021-03-03 16:57:03 -06:00
Michael Black W9MDB e5964fe670 Fix IC706 for 5 byte channels
https://github.com/Hamlib/Hamlib/issues/295
2021-02-23 23:16:00 -06:00
Michael Black W9MDB 1e9a991a25 Add set_dsp_flt for IC7000 -- any other Icom rigs can use this?
https://github.com/Hamlib/Hamlib/issues/521
2021-02-17 22:52:48 -06:00
Michael Black W9MDB 660fd94962 Change all icom rigs to watts for RIG_LEVEL_RFPOWER_METER_WATTS
Divide by 100 for old power call
2021-02-12 16:37:17 -06:00
Michael Black W9MDB e589e078a1 Add 3 second sleep in icom powerstat to allow the rig to wake up
https://github.com/Hamlib/Hamlib/issues/525
2021-02-03 12:54:30 -06:00
Michael Black W9MDB cd7811f3ed Fix icom_get_mode for rigs with 1-byte mode_len
https://github.com/Hamlib/Hamlib/issues/522
2021-01-29 16:32:16 -06:00
Michael Black W9MDB 5a9daf5f0e Fix ic703 and ic705 RIG_LEVEL_RFPOWER_METER_WATTS to scale to 10W instead of 100W 2021-01-20 15:07:59 -06:00
Michael Black W9MDB 8024ffb937 Change icom_get_usb_echo_off to return TIMEOUT when it occurs instead of RIG_OK
https://github.com/Hamlib/Hamlib/issues/509
2021-01-13 12:42:03 -06:00
Michael Black W9MDB cf858bfa3c Change rig.c to return RIG_ENAVAIL instead of RIG_ENTARGET when set_vfo==NULL
Add IC706* to rigs that don't do dsp settings
Remove dynamic detection of transceive status in icom/frame.c
https://github.com/Hamlib/Hamlib/issues/490
2021-01-08 12:04:25 -06:00
Michael Black W9MDB 02c0854434 In icom.c init() set priv->filter to RIG_PASSBAND_NOCHANGE to fix set_mode rigs with 2-byte cmds
https://github.com/Hamlib/Hamlib/issues/490
2021-01-06 17:04:44 -06:00
Michael Black W9MDB 2b1bce89bf Fix icom default filter settings
https://github.com/Hamlib/Hamlib/issues/471
2020-12-19 14:30:31 -06:00
Michael Black W9MDB 2a0deb3415 Add RIG_LEVEL_RFPOWER_METER_WATTS
Old level of 0-1 just doesn't work well with the varying power levels in rigs now
2020-12-16 17:47:49 -06:00
Michael Black W9MDB 3061a5f8b2 Fix icom filter value, not ASCII!!!
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 12:40:04 -06:00
Michael Black W9MDB 0fa00cb14f Missed icom.h commit
https://github.com/Hamlib/Hamlib/issues/448
2020-12-12 12:31:32 -06:00
Michael Black W9MDB f22d4a6dbe Update icom.h version 2020-12-12 10:07:03 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB 20fc303686 Fix set_mode for IC-7000
https://github.com/Hamlib/Hamlib/issues/428
2020-11-03 15:24:06 +00:00
Michael Black W9MDB f55d50c7bc Finish IC-729 addition
https://github.com/Hamlib/Hamlib/issues/429
2020-10-29 22:45:57 -05:00
Michael Black W9MDB 378cbfb008 remove some cppcheck statements not needed anymore 2020-10-29 12:53:39 -05:00
Michael Black W9MDB 0443afc794 Add wait_morse command with generit wait_morse_ptt function
This should work for any send_morse with full breakin
https://github.com/Hamlib/Hamlib/issues/422
2020-10-18 12:34:36 -05:00
Michael Black W9MDB 28b7543de6 Add stop_morse to Icom rigs
https://github.com/Hamlib/Hamlib/issues/240
2020-10-16 17:26:02 -05:00
Mikael Nousiainen a77e82be4e Fix handling of Icom repeater shift and split command responses. Add tuning step definitions for IC-9700. 2020-10-14 18:19:00 +03:00
Mikael Nousiainen 23971f8e75 Fix issues with Icom extcmds definitions, some ext_tokens missing. Refactor custom level implementations to use extcmds definitions. Print out extfuncs in caps dump. 2020-09-16 18:10:35 +03:00
Michael Black W9MDB aeaa96bc3b Fix icom_get_parm to eliminate collisions 2020-09-12 21:37:10 -07:00
Michael Black W9MDB 83667f4c65 Added CMD_PARAM_TYPE values for icom rigs to distinguish the different ext cmd types
https://github.com/Hamlib/Hamlib/issues/373
2020-09-12 11:21:33 -05:00
Michael Black W9MDB 54c522ef99 Start of migrating Icom rigs to separate LEVEL and PARM values to avoid collisions
https://github.com/Hamlib/Hamlib/issues/373
2020-09-11 09:49:47 -05:00
Michael Black W9MDB 2020f29185 Remove redundant RIG_LEVEL_BRIGHT 2020-09-10 10:07:11 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Mike Goodey 1138feb576 Remove icom_set_rit - it doesn't (and can't) work - see README.icom 2020-09-01 14:41:45 +01:00
Michael Black W9MDB 133a8acd30 Fix icom MainA/B SubA/B VFO selection
https://github.com/Hamlib/Hamlib/issues/348
2020-07-20 14:42:46 +02:00
Michael Black W9MDB 4efbddd0e8 Add ability to set Icom MAIN_VFO_A/B and SUB_VFO_A/B
https://github.com/Hamlib/Hamlib/issues/348
2020-07-19 17:21:23 -05:00
Michael Black W9MDB ba72dc74b2 Upgrade some rigs to STABLE 2020-07-16 11:06:39 -05:00
Michael Black W9MDB 8fd58e211d Rigs will only power up once if needed
https://github.com/Hamlib/Hamlib/issues/297
2020-06-14 17:14:24 -05:00
Michael Black W9MDB 71b867e141 Add some debug to icom.c 2020-06-14 09:43:42 -05:00
Michael Black W9MDB c5388b9f37 In icom.c remove priv->curr_vfo and change to rig->state.current_vfo
https://github.com/Hamlib/Hamlib/issues/299
2020-06-13 15:53:37 -05:00
Michael Black W9MDB 723f3f0773 Add some more rig cases for MainA/B and Sub A/B priv setting in icom_get_freq
Add VFO_CURR as a valid VFO
https://github.com/Hamlib/Hamlib/issues/299
2020-06-13 07:51:35 -05:00
Michael Black W9MDB 7cdaa0efd1 Change icom.c VFO_TX VFO_RX adjustment to use vfo_fixup function
vfo_fixup should be able to handle all rigs variations
https://github.com/Hamlib/Hamlib/issues/299
2020-06-12 07:57:13 -05:00
Michael Black W9MDB b910fa0c58 When get_split_freq_mode is called with RIG_VFO_CURR and split is not enabled
we will assume the TX vfo is VFOB or Sub as appropriate
This hopefully makes WSJT-X happy with Icom rigs now.
https://github.com/Hamlib/Hamlib/issues/288
2020-06-11 08:15:52 -05:00
Michael Black W9MDB 876c7bd59f Fix RIG_VFO_TX clause in icom.c 2020-06-10 08:10:35 -05:00
Michael Black W9MDB ee8dde16ea When rig_set_split_freq_mode is called and RIG_VFO_CURR is requested use default tx_vfo
https://github.com/Hamlib/Hamlib/issues/288
2020-06-09 12:16:45 -05:00
Michael Black W9MDB c5732d542e Fix icom.c so most all satmode requests are restricted to rigs with RIG_FUNC_SATMODE
https://github.com/Hamlib/Hamlib/issues/288
2020-06-08 23:04:04 -05:00
Michael Black W9MDB 3ec286ae1b Update icom.h version 2020-06-05 22:46:17 -05:00
Michael Black W9MDB d9d1074f24 Fix IC-910 behavior with gpredict
Now allows switching between full duplex, split, and non-split mode
https://github.com/Hamlib/Hamlib/issues/237
2020-06-04 10:37:20 -05:00
Michael Black W9MDB a8e5a66ffd Add FT_DX101D as another rig that can't get freq during PTT
https://github.com/Hamlib/Hamlib/issues/279
2020-06-03 16:58:42 -05:00
Michael Black 00031994c6 Remove block setting VFO_A -- does not work with rigs that don't have
VFO_A
https://github.com/Hamlib/Hamlib/issues/274
2020-06-01 17:38:03 -05:00
Michael Black W9MDB 281022447c Update some more items in icom.c where appropriate 2020-05-25 09:11:32 -05:00
Michael Black W9MDB 1add89bd71 Add rules for setting VFO_RX and VFO_TX for different rig types
https://github.com/Hamlib/Hamlib/issues/261
2020-05-24 23:42:35 -05:00
Michael Black W9MDB 9c902dd03b IC-9700 in satmode requesting "S 1 Sub" will now return RIG_OK without
taking any action
Since satmode is Sub split anyways this makes sense
https://github.com/Hamlib/Hamlib/issues/254
2020-05-20 06:42:06 +02:00
Michael Black W9MDB 2e3678d1a7 Fix main/sub frequency saved values 2020-05-17 17:27:28 -05:00
Michael Black W9MDB 906a369e00 Change icom behavior for IC-9700 type rig with Main/A/B && Sub A/B setup
If Sub is asked for but neither split nor satmode is on it will get changed
to VFOB instead which should avoid doing a VFO swap
https://github.com/Hamlib/Hamlib/issues/250
2020-05-16 07:55:59 -05:00
Michael Black W9MDB 156db580f8 IC-910 (and hopefully IC-9700) now working with gpredict in both simplex non-satmode and full duplex satmode
As of 20200514 switching to satmode will automically switch rig to satmode
But switching back to simple requires manually going back to split mode until gpredict provide the correct split mode request of "S 1 VFOB" or "S 1 VFOA"
https://github.com/Hamlib/Hamlib/issues/237
2020-05-14 12:15:37 -04:00
Michael Black W9MDB 366c60020b Fix merge in icom.h 2020-05-11 22:44:33 -05:00
Michael Black W9MDB 74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
Michael Black W9MDB 3b2225e489 Fix IC-910 split mode operation with gpredict
https://github.com/Hamlib/Hamlib/issues/237
2020-05-11 19:00:52 -04:00
Michael Black W9MDB 0ffddf779d Change icom.c set_freq to detect error on bad freq set and swap VFOs back and not update anything
Add some more debug
https://github.com/Hamlib/Hamlib/issues/237
2020-05-10 07:40:06 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 2991d43e26 If icom.c rig_get_freq is called and VFO is None then VFO gets set to the requexted VFO
https://github.com/Hamlib/Hamlib/issues/231
2020-05-01 10:35:16 -05:00
mdblack98 acc468fcfd Fix channel reading for civ_731 icom rigs
I assume this is true on all such rigs that they return 5 bytes
Writing and reading a channel should confirm it by returning the correct freq
https://github.com/Hamlib/Hamlib/issues/217
2020-04-26 08:45:16 -05:00
mdblack98 7a075ae9fd https://github.com/Hamlib/Hamlib/issues/222
Fix order of calls in icom_get_split_vfos
Need to set split before getting vfos
2020-04-23 22:50:34 -05:00
mdblack98 a9a604758d https://github.com/Hamlib/Hamlib/issues/222
Fix icom_get_split_vfo filling in rx_vfo and tx_vfo
icom_get_split_vfo: vfo=currVFO rx_vfo=None tx_vfo=None split=0
2020-04-23 15:35:29 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black e2ea0b77ac Bump icom version 2020-03-16 11:18:20 -05:00
Michael Black a858f05b03 Add x1cx03cmdfails to icom.h 2020-03-15 09:47:20 -05:00
Michael Black 1e658578ec Reset x25cmdfails when SATMODE is called 2020-03-14 15:21:56 -05:00
Michael Black 39baeecd68 Add x25cmdfails to icom.h priv 2020-03-14 14:48:26 -05:00
Michael Black 42871be196 Added some places to set default vfo when vfo has not been set yet. We're avoiding setting the default VFO on startup but allowing for clients which don't set the vfo properly.
Commented out icom_get_freq_range as can't have this on every rig_open call...too busy for rigctld
2020-03-12 10:12:59 -05:00
Michael Black 7a174df5b7 Bump icom.h version 2020-03-09 09:15:21 -05:00