#include <rig.h>
Rig data structure.
Basic rig type, can store some useful info about different radios. Each lib must be able to populate this structure, so we can make useful inquiries about capabilities.
The main idea of this struct is that it will be defined by the backend rig driver, and will remain readonly for the application. Fields that need to be modifiable by the application are copied into the struct rig_state, which is a kind of private of the RIG instance. This way, you can have several rigs running within the same application, sharing the struct rig_caps of the backend, while keeping their own customized data. NB: don't move fields around, as backend depends on it when initializing their caps.
Announces bit field list
| int rig_caps::attenuator[MAXDBLSTSIZ] |
Preamp list in dB, 0 terminated
Number of banks
| struct confparams* rig_caps::cfgparams |
Configuration parametres.
Max length of memory channel name
| chan_t rig_caps::chan_list[CHANLSTSIZ] |
Channel list, zero ended
| const char* rig_caps::clone_combo_get |
String describing key combination to enter save cloning mode
| const char* rig_caps::clone_combo_set |
String describing key combination to enter load cloning mode
| const char* rig_caps::copyright |
Copyright info.
| const tone_t* rig_caps::ctcss_list |
CTCSS tones list, zero ended
Type of the DCD port.
| const tone_t* rig_caps::dcs_list |
DCS code list, zero ended
| struct confparams* rig_caps::extlevels |
Extension level list,
| struct confparams* rig_caps::extparms |
Extension parm list,
| struct filter_list rig_caps::filters[FLTLSTSIZ] |
mode/filter table, at -6dB
List of get functions
List of get level
List of get parm
List of set functions
List of set level
List of set parm
| gran_t rig_caps::level_gran[RIG_SETTING_MAX] |
level granularity (i.e. steps)
max absolute IF-SHIFT
max absolute RIT
max absolute XIT
| const char* rig_caps::mfg_name |
Manufacturer.
| const char* rig_caps::model_name |
Model name.
| gran_t rig_caps::parm_gran[RIG_SETTING_MAX] |
parm granularity (i.e. steps)
Type of communication port.
Delay between each commands send out, in mS
| int rig_caps::preamp[MAXDBLSTSIZ] |
Preamp list in dB, 0 terminated
| const rig_ptr_t rig_caps::priv |
Private data.
Type of the PTT port.
| int rig_caps::retry |
Maximum number of retries if command fails, 0 to disable
Rig model.
Rig type.
| freq_range_t rig_caps::rx_range_list1[FRQRANGESIZ] |
Receive frequency range list for ITU region 1
| freq_range_t rig_caps::rx_range_list2[FRQRANGESIZ] |
Receive frequency range list for ITU region 2
Scan bit field list
Number of data bits.
Handshake.
Parity.
Maximum serial speed.
Minimum serial speed.
Number of stop bits.
Driver status.
S-meter calibration table
Bit field list of direct VFO access commands
Timeout, in mS
Supported transceive mode
| struct tuning_step_list rig_caps::tuning_steps[TSLSTSIZ] |
Tuning step list
| freq_range_t rig_caps::tx_range_list1[FRQRANGESIZ] |
Transmit frequency range list for ITU region 1
| freq_range_t rig_caps::tx_range_list2[FRQRANGESIZ] |
Transmit frequency range list for ITU region 2
| const char* rig_caps::version |
Driver version.
VFO op bit field list
Delay between each byte sent out, in mS
Hamlib documentation for version 1.2.11 -- Sun Jun 20 09:01:39 2010
Project page: http://hamlib.org