rig_caps Struct Reference
[Rig (transceiver) API]

Rig data structure. More...

#include <rig.h>

Data Fields

rig_model_t rig_model
const char * model_name
const char * mfg_name
const char * version
const char * copyright
enum rig_status_e status
int rig_type
ptt_type_t ptt_type
dcd_type_t dcd_type
rig_port_t port_type
int serial_rate_min
int serial_rate_max
int serial_data_bits
int serial_stop_bits
enum serial_parity_e serial_parity
enum serial_handshake_e serial_handshake
int write_delay
int post_write_delay
int timeout
int retry
setting_t has_get_func
setting_t has_set_func
setting_t has_get_level
setting_t has_set_level
setting_t has_get_parm
setting_t has_set_parm
gran_t level_gran [32]
gran_t parm_gran [32]
struct confparamsextparms
struct confparamsextlevels
const tone_tctcss_list
const tone_tdcs_list
int preamp [8]
int attenuator [8]
shortfreq_t max_rit
shortfreq_t max_xit
shortfreq_t max_ifshift
ann_t announces
vfo_op_t vfo_ops
scan_t scan_ops
int targetable_vfo
int transceive
int bank_qty
int chan_desc_sz
chan_t chan_list [16]
freq_range_t rx_range_list1 [30]
freq_range_t tx_range_list1 [30]
freq_range_t rx_range_list2 [30]
freq_range_t tx_range_list2 [30]
struct tuning_step_list tuning_steps [20]
struct filter_list filters [42]
cal_table_t str_cal
struct confparamscfgparams
const char * priv
const char * clone_combo_set
const char * clone_combo_get

Detailed Description

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.


Field Documentation

Announces bit field list

Preamp list in dB, 0 terminated

Number of banks

Configuration parametres.

Max length of memory channel name

Channel list, zero ended

String describing key combination to enter save cloning mode

String describing key combination to enter load cloning mode

const char* rig_caps::copyright

Copyright info.

CTCSS tones list, zero ended

Type of the DCD port.

DCS code list, zero ended

Extension level list,

See also:
ext.c

Extension parm list,

See also:
ext.c
struct filter_list rig_caps::filters[42] [read]

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

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.

parm granularity (i.e. steps)

Type of communication port.

Delay between each commands send out, in mS

Preamp list in dB, 0 terminated

const char* rig_caps::priv

Private data.

Type of the PTT port.

Maximum number of retries if command fails, 0 to disable

Rig model.

Rig type.

Receive frequency range list for ITU region 1

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

Tuning step list

Transmit frequency range list for ITU region 1

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


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Hamlib documentation for version 1.2.8 -- Thu Mar 11 13:57:35 2010
Project page: http://hamlib.org