[Hamlib-developer] [Hamlib/Hamlib] 12cc40: Fix IC-705 filter selection and bandwidth handling...
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Kenji R. <no...@gi...> - 2025-05-03 15:41:34
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: 12cc40f4f77c5dea54d03b39c8657e8a6038a05f https://github.com/Hamlib/Hamlib/commit/12cc40f4f77c5dea54d03b39c8657e8a6038a05f Author: Kenji Rikitake <ken...@ac...> Date: 2025-05-03 (Sat, 03 May 2025) Changed paths: M rigs/icom/frame.c M rigs/icom/ic7300.c M rigs/icom/icom.c Log Message: ----------- Fix IC-705 filter selection and bandwidth handling for FM and WFM * Enable `.fm_filters` in `IC705_priv_caps` * `icom_get_mode_without_data()`: activate FM filter selection code if `RIG_IS_IC705` * `icom2rig_mode()`: activate FM filter fixed width code if `RIG_IS_IC705` * TODO: cases in WFM should be solved independently * `icom2rig_mode()`: handle FM and WFM separately and correctly at least for IC-705, no changes for IC-7300 and IC-9700 * `icom_get_mode_without_data()`: add WFM to the code assuming that values from `icom2rig_mode()` is correct * icom.c: A partial rollback for https://github.com/Hamlib/Hamlib/pull/1719/commits/a395b91be6bd19d760e57005ecb8079b15af9ede * The workaround to use `icom_set_mode_without_data()` is not necessary * The later experiments showed CI-V command 0x26 worked OK too for WFM * Add WFM freq to ic705_caps.filters * Fix icom_set_mode_x26() FM behavior `icom_set_mode_x26()` did not pass the correct command value for FM or PKTFM modes when width is set to `RIG_PASSBAND_NORMAL` (i.e., 0 (zero)). With this source code change, the command value `buf[2]` is forcefully set to 1 when `RIG_PASSBAND_NORMAL` or `RIG_PASSBAND_NOCHANGE` are passed to the parameter `width`. This fix solves the bug for IC-705 with rigctl when entering the command `M FM 0` after `M WFM 0` *did not* change the mode properly to (narrow) FM. To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |