Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

rig_caps Struct Reference

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 [64]
gran_t parm_gran [64]
const struct confparamsextparms
const 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]
tuning_step_list tuning_steps [20]
filter_list filters [42]
cal_table_t str_cal
const struct confparamscfgparams
const char * priv


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 enquiries about capablilities.

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

ann_t rig_caps::announces
 

Announces bit field list

int rig_caps::attenuator[8]
 

Preamp list in dB, 0 terminated

int rig_caps::bank_qty
 

Number of banks

const struct confparams* rig_caps::cfgparams
 

Configuration parametres.

int rig_caps::chan_desc_sz
 

Max lenght of memory channel name

chan_t rig_caps::chan_list[16]
 

Channel list, zero ended

const char* rig_caps::copyright
 

Copyright info.

const tone_t* rig_caps::ctcss_list
 

CTCSS tones list, zero ended

dcd_type_t rig_caps::dcd_type
 

Type of the DCD port.

const tone_t* rig_caps::dcs_list
 

DCS code list, zero ended

const struct confparams* rig_caps::extlevels
 

Extension level list

const struct confparams* rig_caps::extparms
 

Extension parm list

struct filter_list rig_caps::filters[42]
 

mode/filter table, at -6dB

setting_t rig_caps::has_get_func
 

List of get functions

setting_t rig_caps::has_get_level
 

List of get level

setting_t rig_caps::has_get_parm
 

List of get parm

setting_t rig_caps::has_set_func
 

List of set functions

setting_t rig_caps::has_set_level
 

List of set level

setting_t rig_caps::has_set_parm
 

List of set parm

gran_t rig_caps::level_gran[64]
 

level granularity (i.e. steps)

shortfreq_t rig_caps::max_ifshift
 

max absolute IF-SHIFT

shortfreq_t rig_caps::max_rit
 

max absolute RIT

shortfreq_t rig_caps::max_xit
 

max absolute XIT

const char* rig_caps::mfg_name
 

Manufacturer.

const char* rig_caps::model_name
 

Model name.

gran_t rig_caps::parm_gran[64]
 

parm granularity (i.e. steps)

rig_port_t rig_caps::port_type
 

Type of communication port.

int rig_caps::post_write_delay
 

Delay between each commands send out, in ms

int rig_caps::preamp[8]
 

Preamp list in dB, 0 terminated

const char* rig_caps::priv
 

Private data.

ptt_type_t rig_caps::ptt_type
 

Type of the PTT port.

int rig_caps::retry
 

Maximum number of retries if command fails, 0 to disable

rig_model_t rig_caps::rig_model
 

Rig model.

int rig_caps::rig_type
 

Rotator type.

freq_range_t rig_caps::rx_range_list1[30]
 

Receive frequency range list for ITU region 1

freq_range_t rig_caps::rx_range_list2[30]
 

Receive frequency range list for ITU region 2

scan_t rig_caps::scan_ops
 

Scan bit field list

int rig_caps::serial_data_bits
 

Number of data bits.

enum serial_handshake_e rig_caps::serial_handshake
 

Handshake.

enum serial_parity_e rig_caps::serial_parity
 

Parity.

int rig_caps::serial_rate_max
 

Maximal serial speed.

int rig_caps::serial_rate_min
 

Minimal serial speed.

int rig_caps::serial_stop_bits
 

Number of stop bits.

enum rig_status_e rig_caps::status
 

Driver status.

cal_table_t rig_caps::str_cal
 

S-meter calibration table

int rig_caps::targetable_vfo
 

Bit field list of direct VFO access commands

int rig_caps::timeout
 

Timeout, in ms

int rig_caps::transceive
 

Supported transceive mode

struct tuning_step_list rig_caps::tuning_steps[20]
 

Tuning step list

freq_range_t rig_caps::tx_range_list1[30]
 

Transmit frequency range list for ITU region 1

freq_range_t rig_caps::tx_range_list2[30]
 

Transmit frequency range list for ITU region 2

const char* rig_caps::version
 

Driver version.

vfo_op_t rig_caps::vfo_ops
 

VFO op bit field list

int rig_caps::write_delay
 

Delay between each byte sent out, in ms


The documentation for this struct was generated from the following file:
Generated on Sat Sep 30 15:49:37 2006 for Hamlib - the C library reference by  doxygen 1.4.4