[Hamlib-developer] Where does the data for certain lists come from?
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Richard E. <DO...@ho...> - 2025-04-17 22:19:03
|
Hi everyone, I've been exploring some list commands and I'm wondering where exactly the information returned by these commands originates. Currently, I retrieve all necessary details using the --caps-dump command, which works fine. However, it would be great if I could use for example get_modes and get_vfo_list instead. My main question is: are these lists generated based on data from the backend (e.g., the Raspberry Pi), or are they fetched directly from the connected radio each time the command is issued? The distinction is important, since not all radios are capable of reporting their supported modes or VFO combinations. If the radio is queried every time, this would make the commands less reliable across diverse hardware. Additionally, is there any way to generate these lists dynamically depending on the currently selected VFO? For instance, We've come across radios where for example VFOA supports FM, AM, and Digital, but VFOB supports only FM and Digital. It would be very useful if the command could reflect these distinctions based on actual capabilities. Thanks a lot in advance! -- 73 Richard, DO9RE |