|
From: <gm...@bt...> - 2026-11-21 15:56:02
|
If I issue multiple get_modes commands in the same rigctld session, then the list of modes gets repeated. Each call adds the supported modes again. Also it looks like no new-line is inserted before the RPRT 0 at the end.
This is an output from my app log:
[Rig Info 294] Rig name: Dummy
[Rig Info 294] Sent command +\get_modes
[Rig Info 294] Received response get_modes:
Modes: AM CW USB LSB RTTY FM WFM CWR CW-R RTTYR RTTY-R AM CW USB LSB RTTY FM WFM CWR CW-R RTTYR RTTY-R
Bandwidths:
AM Normal: 8.0000 kHz, Narrow: 2.4000 kHz, Wide: 10.0000 kHz
CW Normal: 500.0 Hz, Narrow: 50.0 Hz, Wide: 2.4000 kHz
USB Normal: 2.4000 kHz, Narrow: 1.8000 kHz, Wide: 3.0000 kHz
LSB Normal: 2.4000 kHz, Narrow: 1.8000 kHz, Wide: 3.0000 kHz
RTTY Normal: 300.0 Hz, Narrow: 50.0 Hz, Wide: 2.4000 kHz
FM Normal: 15.0000 kHz, Narrow: 8.0000 kHz, Wide: 0.0 Hz
WFM Normal: 230.0000 kHz, Narrow: 0.0 Hz, Wide: 0.0 Hz
CWR Normal: 500.0 Hz, Narrow: 0.0 Hz, Wide: 0.0 Hz
RTTYR Normal: 300.0 Hz, Narrow: 0.0 Hz, Wide: 0.0 HzRPRT 0
[Rig Info 294] Mode list parsed with 20 modes: AM CW USB LSB RTTY FM WFM CWR CW-R RTTYR RTTY-R AM CW USB LSB RTTY FM WFM CWR CW-R
If I issue "+\set_mode ?" then it always seems to return the same number of modes each time. Unfortunately then using "+\get_mode_bandwidths AM" again does not have the newline before the "RPRT 0".
Hamlib version is 4.7.2 20260621.
73 Phil GM3ZZA
|