#include <rig.h>
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.
Rig model.
const char* rig_caps::model_name |
Model name.
const char* rig_caps::mfg_name |
Manufacturer.
const char* rig_caps::version |
Driver version.
const char* rig_caps::copyright |
Copyright info.
Driver status.
Rig type.
Type of the PTT port.
Type of the DCD port.
Type of communication port.
Minimum serial speed.
Maximum serial speed.
Number of data bits.
Number of stop bits.
Parity.
Handshake.
Delay between each byte sent out, in mS
Delay between each commands send out, in mS
Timeout, in mS
int rig_caps::retry |
Maximum number of retries if command fails, 0 to disable
List of get functions
List of set functions
List of get level
List of set level
List of get parm
List of set parm
level granularity (i.e. steps)
parm granularity (i.e. steps)
struct confparams* rig_caps::extparms [read] |
Extension parm list,
struct confparams* rig_caps::extlevels [read] |
Extension level list,
const tone_t* rig_caps::ctcss_list |
CTCSS tones list, zero ended
const tone_t* rig_caps::dcs_list |
DCS code list, zero ended
int rig_caps::preamp[8] |
Preamp list in dB, 0 terminated
int rig_caps::attenuator[8] |
Preamp list in dB, 0 terminated
max absolute RIT
max absolute XIT
max absolute IF-SHIFT
Announces bit field list
VFO op bit field list
Scan bit field list
Bit field list of direct VFO access commands
Supported transceive mode
Number of banks
Max length of memory channel name
Channel list, zero ended
Receive frequency range list for ITU region 1
Transmit frequency range list for ITU region 1
Receive frequency range list for ITU region 2
Transmit frequency range list for ITU region 2
struct tuning_step_list rig_caps::tuning_steps[20] [read] |
Tuning step list
struct filter_list rig_caps::filters[42] [read] |
mode/filter table, at -6dB
S-meter calibration table
struct confparams* rig_caps::cfgparams [read] |
Configuration parametres.
const char* rig_caps::priv |
Private data.
const char* rig_caps::clone_combo_set |
String describing key combination to enter load cloning mode
const char* rig_caps::clone_combo_get |
String describing key combination to enter save cloning mode
Hamlib documentation for version 1.2.7 -- Tue Aug 26 21:43:29 2008
Project page: http://hamlib.org