Hamlib  3.3
Data Fields
rig_state Struct Reference

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 [60]
 
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
 
vfo_t tx_vfo
 
int mode_list
 
int transmit
 

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

◆ announces

ann_t rig_state::announces

Announces bit field list

◆ attenuator

int rig_state::attenuator[8]

Preamp list in dB, 0 terminated

◆ chan_list

chan_t rig_state::chan_list[16]

Channel list, zero ended

◆ comm_state

int rig_state::comm_state

Comm port state, opened/closed.

◆ current_freq

freq_t rig_state::current_freq

Frequency currently set

◆ current_mode

rmode_t rig_state::current_mode

Mode currently set

◆ current_vfo

vfo_t rig_state::current_vfo

VFO currently set

◆ current_width

pbwidth_t rig_state::current_width

Passband width currently set

◆ dcdport

hamlib_port_t rig_state::dcdport

DCD port (internal use).

◆ filters

struct filter_list rig_state::filters[60]

Mode/filter table, at -6dB

◆ has_get_func

setting_t rig_state::has_get_func

List of get functions

◆ has_get_level

setting_t rig_state::has_get_level

List of get level

◆ has_get_parm

setting_t rig_state::has_get_parm

List of get parm

◆ has_set_func

setting_t rig_state::has_set_func

List of set functions

◆ has_set_level

setting_t rig_state::has_set_level

List of set level

◆ has_set_parm

setting_t rig_state::has_set_parm

List of set parm

◆ hold_decode

int rig_state::hold_decode

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

◆ itu_region

int rig_state::itu_region

ITU region to select among freq_range_t

◆ level_gran

gran_t rig_state::level_gran[32]

level granularity

◆ max_ifshift

shortfreq_t rig_state::max_ifshift

max absolute IF-SHIFT

◆ max_rit

shortfreq_t rig_state::max_rit

max absolute RIT

◆ max_xit

shortfreq_t rig_state::max_xit

max absolute XIT

◆ mode_list

int rig_state::mode_list

Complete list of modes for this rig

◆ obj

char* rig_state::obj

Internal use by hamlib++ for event handling.

◆ parm_gran

gran_t rig_state::parm_gran[32]

parm granularity

◆ poll_interval

int rig_state::poll_interval

Event notification polling period in milliseconds

◆ preamp

int rig_state::preamp[8]

Preamp list in dB, 0 terminated

◆ priv

char* rig_state::priv

Pointer to private rig state data.

◆ pttport

hamlib_port_t rig_state::pttport

PTT port (internal use).

◆ rigport

hamlib_port_t rig_state::rigport

Rig port (internal use).

Examples
/tests/testrig.c.

◆ rx_range_list

freq_range_t rig_state::rx_range_list[30]

Receive frequency range list

◆ str_cal

cal_table_t rig_state::str_cal

S-meter calibration table

◆ transceive

int rig_state::transceive

Whether the transceive mode is on

◆ transmit

int rig_state::transmit

rig should be transmitting i.e. hard wired PTT asserted - used by rigs that don't do CAT while in Tx

◆ tuning_steps

struct tuning_step_list rig_state::tuning_steps[20]

Tuning step list

◆ tx_range_list

freq_range_t rig_state::tx_range_list[30]

Transmit frequency range list

◆ tx_vfo

vfo_t rig_state::tx_vfo

Tx VFO currently set

◆ vfo_comp

double rig_state::vfo_comp

VFO compensation in PPM, 0.0 to disable

◆ vfo_list

int rig_state::vfo_list

Complete list of VFO for this rig


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

Generated by doxygen 1.8.17

Hamlib documentation for version 3.3 -- Wed Jan 29 2020 00:00:00
Project page: http://www.hamlib.org