rig_state Struct Reference
[Rig (transceiver) API]

Rig state containing live data and customized fields. More...

#include <rig.h>


Data Fields

hamlib_port_t rigport
hamlib_port_t pttport
hamlib_port_t dcdport
double vfo_comp
int itu_region
freq_range_t rx_range_list [30]
freq_range_t tx_range_list [30]
struct tuning_step_list tuning_steps [20]
struct filter_list filters [42]
cal_table_t str_cal
chan_t chan_list [16]
shortfreq_t max_rit
shortfreq_t max_xit
shortfreq_t max_ifshift
ann_t announces
int preamp [8]
int attenuator [8]
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]
int hold_decode
vfo_t current_vfo
int vfo_list
int comm_state
char * priv
char * obj
int transceive
int poll_interval
freq_t current_freq
rmode_t current_mode
pbwidth_t current_width


Detailed Description

Rig state containing live data and customized fields.

This struct contains live data, as well as a copy of capability fields that may be updated (ie. customized)

It is fine to move fields around, as this kind of struct should not be initialized like caps are.


Field Documentation

Rig port (internal use).

Examples:
/tests/testrig.c.

PTT port (internal use).

DCD port (internal use).

VFO compensation in PPM, 0.0 to disable

ITU region to select among freq_range_t

Receive frequency range list

Transmit frequency range list

Tuning step list

struct filter_list rig_state::filters[42] [read]

Mode/filter table, at -6dB

S-meter calibration table

Channel list, zero ended

max absolute RIT

max absolute XIT

max absolute IF-SHIFT

Announces bit field list

Preamp list in dB, 0 terminated

Preamp list in dB, 0 terminated

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

parm granularity

set to 1 to hold the event decoder (async) otherwise 0

VFO currently set

Complete list of VFO for this rig

Comm port state, opened/closed.

Pointer to private rig state data.

Internal use by hamlib++ for event handling.

Whether the transceive mode is on

Event notification polling period in milliseconds

Frequency currently set

Mode currently set

Passband width currently set


The documentation for this struct was generated from the following file:

Hamlib documentation for version 1.2.8 -- Mon Dec 15 18:03:30 2008
Project page: http://hamlib.org