Loading...
Searching...
No Matches
rig_state.h
Go to the documentation of this file.
/*
* Hamlib Interface - Rig state structure
* Copyright (c) 2000-2025 The Hamlib Group
* Copyright (c) 2025 George Baltz
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#ifndef _RIG_STATE_H
#define _RIG_STATE_H 1
//#include <hamlib/rig.h>
//#include <pthread.h>
__BEGIN_DECLS
/* Forward declarations
*
* Structures pointed to by rig_state and defined elsewhere
*/
struct FIFO_RIG_s; /* Defined in src/fifo.h */
struct rig_state {
/********* ENSURE ANY NEW ITEMS ARE ADDED AT BOTTOM OF THIS STRUCTURE *********/
/*
* overridable fields
*/
// moving the hamlib_port_t to the end of rig_state and making it a pointer
// this should allow changes to hamlib_port_t without breaking shared libraries
// these will maintain a copy of the new port_t for backwards compatibility
// to these offsets -- note these must stay until a major version update is done like 5.0
hamlib_port_t_deprecated rigport_deprecated;
hamlib_port_t_deprecated pttport_deprecated;
hamlib_port_t_deprecated dcdport_deprecated;
double vfo_comp;
int deprecated_itu_region;
freq_range_t rx_range_list[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list[HAMLIB_FRQRANGESIZ];
struct tuning_step_list tuning_steps[HAMLIB_TSLSTSIZ];
struct filter_list filters[HAMLIB_FLTLSTSIZ];
cal_table_t str_cal;
chan_t chan_list[HAMLIB_CHANLSTSIZ];
shortfreq_t max_rit;
shortfreq_t max_xit;
shortfreq_t max_ifshift;
ann_t announces;
int preamp[HAMLIB_MAXDBLSTSIZ];
int attenuator[HAMLIB_MAXDBLSTSIZ];
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[RIG_SETTING_MAX];
gran_t parm_gran[RIG_SETTING_MAX];
/*
* non overridable fields, internal use
*/
int transaction_active;
vfo_t current_vfo;
int vfo_list;
int comm_state;
rig_ptr_t priv;
rig_ptr_t obj;
int async_data_enabled;
int poll_interval;
freq_t current_freq;
rmode_t current_mode;
//rmode_t current_modeB; /*!< Mode currently set VFOB */
pbwidth_t current_width;
vfo_t tx_vfo;
rmode_t mode_list;
// mode_list is used by some
// so anything added to this structure must be below here
int transmit;
freq_t lo_freq;
time_t twiddle_time;
int twiddle_timeout;
// uplink allows gpredict to behave better by no reading the uplink VFO
int uplink;
HL_DEPRECATED
struct rig_cache_deprecated cache;
int vfo_opt;
int auto_power_on;
int auto_power_off;
int auto_disable_screensaver;
int ptt_share;
int power_now;
int power_min;
int power_max;
unsigned char disable_yaesu_bandselect;
int twiddle_rit;
int twiddle_state;
vfo_t rx_vfo;
volatile unsigned int snapshot_packet_sequence_number;
volatile int multicast_publisher_run;
void *multicast_publisher_priv_data;
volatile int async_data_handler_thread_run;
void *async_data_handler_priv_data;
volatile int poll_routine_thread_run;
void *poll_routine_priv_data;
pthread_mutex_t mutex_set_transaction;
hamlib_port_t rigport;
hamlib_port_t pttport;
hamlib_port_t dcdport;
/********* DO NOT ADD or CHANGE anything (or than to rename) ABOVE THIS LINE *********/
/********* ENSURE ANY NEW ITEMS ARE ADDED AFTER HERE *********/
/* flags instructing the rig_get routines to use cached values when asyncio is in use */
int use_cached_freq;
int use_cached_mode;
int use_cached_ptt;
int depth;
int lock_mode;
powerstat_t powerstat;
char *tuner_control_pathname;
char client_version[32];
freq_t offset_vfoa;
freq_t offset_vfob;
struct multicast_s *multicast;
// Adding a number of items so netrigctl can see the real rig information
// Eventually may want to add these so that rigctld can see more of the backend
// But that will come later if requested -- for now they just fill out dumpstate.c
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;
int targetable_vfo;
int async_data_supported;
int agc_level_count;
enum agc_level_e agc_levels[HAMLIB_MAX_AGC_LEVELS];
tone_t *ctcss_list;
tone_t *dcs_list;
vfo_op_t vfo_ops;
scan_t scan_ops;
int transceive;
int bank_qty;
int chan_desc_sz;
freq_range_t rx_range_list1[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list1[HAMLIB_FRQRANGESIZ];
freq_range_t rx_range_list2[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list2[HAMLIB_FRQRANGESIZ];
freq_range_t rx_range_list3[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list3[HAMLIB_FRQRANGESIZ];
freq_range_t rx_range_list4[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list4[HAMLIB_FRQRANGESIZ];
freq_range_t rx_range_list5[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list5[HAMLIB_FRQRANGESIZ];
struct rig_spectrum_scope spectrum_scopes[HAMLIB_MAX_SPECTRUM_SCOPES];
enum rig_spectrum_mode_e spectrum_modes[HAMLIB_MAX_SPECTRUM_MODES];
freq_t spectrum_spans[HAMLIB_MAX_SPECTRUM_SPANS];
struct rig_spectrum_avg_mode spectrum_avg_modes[HAMLIB_MAX_SPECTRUM_AVG_MODES];
int spectrum_attenuator[HAMLIB_MAXDBLSTSIZ];
volatile int morse_data_handler_thread_run;
void *morse_data_handler_priv_data;
struct FIFO_RIG_s *fifo_morse;
int doppler;
char *multicast_data_addr;
int multicast_data_port;
char *multicast_cmd_addr;
int multicast_cmd_port;
volatile int multicast_receiver_run;
void *multicast_receiver_priv_data;
rig_comm_status_t comm_status;
char device_id[HAMLIB_RIGNAMSIZ];
int dual_watch;
int post_ptt_delay;
struct timespec freq_event_elapsed;
int freq_skip;
client_t client;
pthread_mutex_t api_mutex;
// New rig_state items go before this line ============================================
};
//---Start cut here---
struct rig_state_deprecated {
/********* ENSURE YOU DO NOT EVER MODIFY THIS STRUCTURE *********/
/********* It will remain forever to provide DLL backwards compatibility ******/
/*
* overridable fields
*/
// moving the hamlib_port_t to the end of rig_state and making it a pointer
// this should allow changes to hamlib_port_t without breaking shared libraries
// these will maintain a copy of the new port_t for backwards compatibility
// to these offsets -- note these must stay until a major version update is done like 5.0
hamlib_port_t_deprecated rigport_deprecated;
hamlib_port_t_deprecated pttport_deprecated;
hamlib_port_t_deprecated dcdport_deprecated;
double vfo_comp;
int deprecated_itu_region;
freq_range_t rx_range_list[HAMLIB_FRQRANGESIZ];
freq_range_t tx_range_list[HAMLIB_FRQRANGESIZ];
struct tuning_step_list tuning_steps[HAMLIB_TSLSTSIZ];
struct filter_list filters[HAMLIB_FLTLSTSIZ];
cal_table_t str_cal;
chan_t chan_list[HAMLIB_CHANLSTSIZ];
shortfreq_t max_rit;
shortfreq_t max_xit;
shortfreq_t max_ifshift;
ann_t announces;
int preamp[HAMLIB_MAXDBLSTSIZ];
int attenuator[HAMLIB_MAXDBLSTSIZ];
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[RIG_SETTING_MAX];
gran_t parm_gran[RIG_SETTING_MAX];
/*
* non overridable fields, internal use
*/
int transaction_active;
vfo_t current_vfo;
int vfo_list;
int comm_state;
rig_ptr_t priv;
rig_ptr_t obj;
int async_data_enabled;
int poll_interval;
freq_t current_freq;
rmode_t current_mode;
//rmode_t current_modeB; /*!< Mode currently set VFOB */
pbwidth_t current_width;
vfo_t tx_vfo;
rmode_t mode_list;
// mode_list is used by some
// so anything added to this structure must be below here
int transmit;
freq_t lo_freq;
time_t twiddle_time;
int twiddle_timeout;
// uplink allows gpredict to behave better by no reading the uplink VFO
int uplink;
struct rig_cache_deprecated cache;
int vfo_opt;
int auto_power_on;
int auto_power_off;
int auto_disable_screensaver;
int ptt_share;
int power_now;
int power_min;
int power_max;
unsigned char disable_yaesu_bandselect;
int twiddle_rit;
int twiddle_state;
vfo_t rx_vfo;
volatile unsigned int snapshot_packet_sequence_number;
volatile int multicast_publisher_run;
void *multicast_publisher_priv_data;
volatile int async_data_handler_thread_run;
void *async_data_handler_priv_data;
volatile int poll_routine_thread_run;
void *poll_routine_priv_data;
pthread_mutex_t mutex_set_transaction;
hamlib_port_t rigport;
hamlib_port_t pttport;
hamlib_port_t dcdport;
/********* DO NOT ADD or CHANGE anything (or than to rename) ABOVE THIS LINE *********/
/********* ENSURE ANY NEW ITEMS ARE ADDED AFTER HERE *********/
/* flags instructing the rig_get routines to use cached values when asyncio is in use */
int use_cached_freq;
int use_cached_mode;
int use_cached_ptt;
int depth;
int lock_mode;
powerstat_t powerstat;
char *tuner_control_pathname;
char client_version[32];
freq_t offset_vfoa;
freq_t offset_vfob;
struct multicast_s *multicast;
};
//---End cut here---
#if defined(IN_HAMLIB)
#define STATE(r) (&(r)->state)
#endif
#define HAMLIB_STATE(r) ((struct rig_state *)rig_data_pointer(r, RIG_PTRX_STATE))
__END_DECLS
#endif /* _RIG_STATE_H */
hamlib_port_t_deprecated
struct hamlib_port_deprecated hamlib_port_t_deprecated
hamlib_port_t
struct hamlib_port hamlib_port_t
Port definition.
vfo_t
unsigned int vfo_t
VFO definition.
Definition rig.h:533
chan_t
struct chan_list chan_t
chan_t type
Definition rig.h:1737
client_t
enum client_e client_t
serial_parity_e
serial_parity_e
Serial parity.
Definition rig.h:348
cal_table_t
struct cal_table cal_table_t
calibration table type
Definition rig.h:1786
rmode_t
uint64_t rmode_t
Radio mode.
Definition rig.h:1381
pbwidth_t
shortfreq_t pbwidth_t
Definition rig.h:665
rig_port_t
enum rig_port_e rig_port_t
Port type.
ann_t
ann_t
Announce.
Definition rig.h:947
setting_t
uint64_t setting_t
Setting bit mask.
Definition rig.h:1223
powerstat_t
powerstat_t
Radio power state.
Definition rig.h:727
scan_t
scan_t
Rig Scan operation.
Definition rig.h:866
freq_t
double freq_t
Frequency type.
Definition rig.h:473
freq_range_t
struct freq_range_list freq_range_t
Frequency range.
vfo_op_t
vfo_op_t
VFO operation.
Definition rig.h:773
ptt_type_t
enum ptt_type_e ptt_type_t
PTT (Push To Talk) type.
shortfreq_t
signed long shortfreq_t
Short frequency type.
Definition rig.h:495
serial_handshake_e
serial_handshake_e
Serial handshake.
Definition rig.h:360
agc_level_e
agc_level_e
AGC delay settings.
Definition rig.h:398
tone_t
unsigned int tone_t
CTCSS and DCS type definition.
Definition rig.h:317
RIG_SETTING_MAX
#define RIG_SETTING_MAX
Maximum # of rig settings.
Definition rig.h:1229
dcd_type_t
enum dcd_type_e dcd_type_t
DCD (Data Carrier Detect) type.
gran_t
struct gran gran_t
gran_t type
Definition rig.h:1760
rig_status_e
rig_status_e
Development status of the backend.
Definition rig.h:432
rig_spectrum_mode_e
rig_spectrum_mode_e
Spectrum scope modes.
Definition rig.h:1840
rig_model_t
uint32_t rig_model_t
Definition riglist.h:1162
FIFO_RIG_s
Definition fifo.h:35
filter_list
Filter definition.
Definition rig.h:1546
multicast_s
Multicast data items the are unique per rig instantiation This is meant for internal Hamlib use only.
Definition rig.h:2560
rig_cache_deprecated
Rig cache data.
Definition rig.h:2480
rig_spectrum_avg_mode
Spectrum scope averaging modes.
Definition rig.h:1852
rig_spectrum_scope
Spectrum scope.
Definition rig.h:1832
rig_state_deprecated
Deprecated Rig state containing live data and customized fields.
Definition rig_state.h:263
rig_state_deprecated::comm_state
int comm_state
Definition rig_state.h:318
rig_state_deprecated::current_vfo
vfo_t current_vfo
Definition rig_state.h:316
rig_state_deprecated::max_xit
shortfreq_t max_xit
Definition rig_state.h:292
rig_state_deprecated::current_freq
freq_t current_freq
Definition rig_state.h:324
rig_state_deprecated::auto_power_off
int auto_power_off
Definition rig_state.h:344
rig_state_deprecated::auto_power_on
int auto_power_on
Definition rig_state.h:342
rig_state_deprecated::rigport
hamlib_port_t rigport
Definition rig_state.h:367
rig_state_deprecated::use_cached_mode
int use_cached_mode
Definition rig_state.h:374
rig_state_deprecated::pttport
hamlib_port_t pttport
Definition rig_state.h:368
rig_state_deprecated::dcdport
hamlib_port_t dcdport
Definition rig_state.h:369
rig_state_deprecated::async_data_handler_thread_run
volatile int async_data_handler_thread_run
Definition rig_state.h:362
rig_state_deprecated::tuning_steps
struct tuning_step_list tuning_steps[HAMLIB_TSLSTSIZ]
Definition rig_state.h:283
rig_state_deprecated::level_gran
gran_t level_gran[RIG_SETTING_MAX]
Definition rig_state.h:307
rig_state_deprecated::offset_vfob
freq_t offset_vfob
Definition rig_state.h:382
rig_state_deprecated::mutex_set_transaction
pthread_mutex_t mutex_set_transaction
Definition rig_state.h:366
rig_state_deprecated::pttport_deprecated
hamlib_port_t_deprecated pttport_deprecated
Definition rig_state.h:274
rig_state_deprecated::dcdport_deprecated
hamlib_port_t_deprecated dcdport_deprecated
Definition rig_state.h:275
rig_state_deprecated::lock_mode
int lock_mode
Definition rig_state.h:377
rig_state_deprecated::lo_freq
freq_t lo_freq
Definition rig_state.h:335
rig_state_deprecated::async_data_enabled
int async_data_enabled
Definition rig_state.h:322
rig_state_deprecated::attenuator
int attenuator[HAMLIB_MAXDBLSTSIZ]
Definition rig_state.h:298
rig_state_deprecated::has_set_func
setting_t has_set_func
Definition rig_state.h:301
rig_state_deprecated::obj
rig_ptr_t obj
Definition rig_state.h:320
rig_state_deprecated::poll_routine_priv_data
void * poll_routine_priv_data
Definition rig_state.h:365
rig_state_deprecated::powerstat
powerstat_t powerstat
Definition rig_state.h:378
rig_state_deprecated::depth
int depth
Definition rig_state.h:376
rig_state_deprecated::ptt_share
int ptt_share
Definition rig_state.h:349
rig_state_deprecated::tx_range_list
freq_range_t tx_range_list[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:281
rig_state_deprecated::vfo_opt
int vfo_opt
Definition rig_state.h:341
rig_state_deprecated::disable_yaesu_bandselect
unsigned char disable_yaesu_bandselect
Definition rig_state.h:353
rig_state_deprecated::filters
struct filter_list filters[HAMLIB_FLTLSTSIZ]
Definition rig_state.h:285
rig_state_deprecated::twiddle_rit
int twiddle_rit
Definition rig_state.h:354
rig_state_deprecated::current_width
pbwidth_t current_width
Definition rig_state.h:327
rig_state_deprecated::use_cached_freq
int use_cached_freq
Definition rig_state.h:373
rig_state_deprecated::transaction_active
int transaction_active
Definition rig_state.h:315
rig_state_deprecated::priv
rig_ptr_t priv
Definition rig_state.h:319
rig_state_deprecated::current_mode
rmode_t current_mode
Definition rig_state.h:325
rig_state_deprecated::poll_interval
int poll_interval
Definition rig_state.h:323
rig_state_deprecated::has_get_func
setting_t has_get_func
Definition rig_state.h:300
rig_state_deprecated::vfo_comp
double vfo_comp
Definition rig_state.h:277
rig_state_deprecated::power_min
int power_min
Definition rig_state.h:351
rig_state_deprecated::parm_gran
gran_t parm_gran[RIG_SETTING_MAX]
Definition rig_state.h:308
rig_state_deprecated::twiddle_state
int twiddle_state
Definition rig_state.h:355
rig_state_deprecated::max_ifshift
shortfreq_t max_ifshift
Definition rig_state.h:293
rig_state_deprecated::multicast
struct multicast_s * multicast
Definition rig_state.h:383
rig_state_deprecated::has_set_parm
setting_t has_set_parm
Definition rig_state.h:305
rig_state_deprecated::has_set_level
setting_t has_set_level
Definition rig_state.h:303
rig_state_deprecated::async_data_handler_priv_data
void * async_data_handler_priv_data
Definition rig_state.h:363
rig_state_deprecated::twiddle_time
time_t twiddle_time
Definition rig_state.h:336
rig_state_deprecated::offset_vfoa
freq_t offset_vfoa
Definition rig_state.h:381
rig_state_deprecated::chan_list
chan_t chan_list[HAMLIB_CHANLSTSIZ]
Definition rig_state.h:289
rig_state_deprecated::multicast_publisher_priv_data
void * multicast_publisher_priv_data
Definition rig_state.h:361
rig_state_deprecated::client_version
char client_version[32]
Definition rig_state.h:380
rig_state_deprecated::cache
struct rig_cache_deprecated cache
Definition rig_state.h:340
rig_state_deprecated::deprecated_itu_region
int deprecated_itu_region
Definition rig_state.h:279
rig_state_deprecated::has_get_parm
setting_t has_get_parm
Definition rig_state.h:304
rig_state_deprecated::auto_disable_screensaver
int auto_disable_screensaver
Definition rig_state.h:346
rig_state_deprecated::rx_vfo
vfo_t rx_vfo
Definition rig_state.h:356
rig_state_deprecated::max_rit
shortfreq_t max_rit
Definition rig_state.h:291
rig_state_deprecated::preamp
int preamp[HAMLIB_MAXDBLSTSIZ]
Definition rig_state.h:297
rig_state_deprecated::multicast_publisher_run
volatile int multicast_publisher_run
Definition rig_state.h:360
rig_state_deprecated::uplink
int uplink
Definition rig_state.h:339
rig_state_deprecated::announces
ann_t announces
Definition rig_state.h:295
rig_state_deprecated::has_get_level
setting_t has_get_level
Definition rig_state.h:302
rig_state_deprecated::tx_vfo
vfo_t tx_vfo
Definition rig_state.h:328
rig_state_deprecated::vfo_list
int vfo_list
Definition rig_state.h:317
rig_state_deprecated::tuner_control_pathname
char * tuner_control_pathname
Definition rig_state.h:379
rig_state_deprecated::rigport_deprecated
hamlib_port_t_deprecated rigport_deprecated
Definition rig_state.h:273
rig_state_deprecated::twiddle_timeout
int twiddle_timeout
Definition rig_state.h:337
rig_state_deprecated::mode_list
rmode_t mode_list
Definition rig_state.h:329
rig_state_deprecated::poll_routine_thread_run
volatile int poll_routine_thread_run
Definition rig_state.h:364
rig_state_deprecated::str_cal
cal_table_t str_cal
Definition rig_state.h:287
rig_state_deprecated::power_max
int power_max
Definition rig_state.h:352
rig_state_deprecated::snapshot_packet_sequence_number
volatile unsigned int snapshot_packet_sequence_number
Definition rig_state.h:358
rig_state_deprecated::use_cached_ptt
int use_cached_ptt
Definition rig_state.h:375
rig_state_deprecated::power_now
int power_now
Definition rig_state.h:350
rig_state_deprecated::rx_range_list
freq_range_t rx_range_list[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:280
rig_state_deprecated::transmit
int transmit
Definition rig_state.h:332
rig_state
Rig state containing live data and customized fields.
Definition rig_state.h:61
rig_state::auto_power_on
int auto_power_on
Definition rig_state.h:140
rig_state::bank_qty
int bank_qty
Definition rig_state.h:214
rig_state::transaction_active
int transaction_active
Definition rig_state.h:112
rig_state::comm_status
rig_comm_status_t comm_status
Definition rig_state.h:241
rig_state::serial_data_bits
int serial_data_bits
Definition rig_state.h:197
rig_state::mutex_set_transaction
pthread_mutex_t mutex_set_transaction
Definition rig_state.h:164
rig_state::attenuator
int attenuator[HAMLIB_MAXDBLSTSIZ]
Definition rig_state.h:95
rig_state::vfo_opt
int vfo_opt
Definition rig_state.h:139
rig_state::twiddle_rit
int twiddle_rit
Definition rig_state.h:152
rig_state::has_set_parm
setting_t has_set_parm
Definition rig_state.h:102
rig_state::level_gran
gran_t level_gran[RIG_SETTING_MAX]
Definition rig_state.h:104
rig_state::dual_watch
int dual_watch
Definition rig_state.h:243
rig_state::mode_list
rmode_t mode_list
Definition rig_state.h:126
rig_state::async_data_enabled
int async_data_enabled
Definition rig_state.h:119
rig_state::max_rit
shortfreq_t max_rit
Definition rig_state.h:88
rig_state::timeout
int timeout
Definition rig_state.h:203
rig_state::async_data_handler_thread_run
volatile int async_data_handler_thread_run
Definition rig_state.h:160
rig_state::multicast_receiver_run
volatile int multicast_receiver_run
Definition rig_state.h:239
rig_state::lo_freq
freq_t lo_freq
Definition rig_state.h:132
rig_state::power_max
int power_max
Definition rig_state.h:150
rig_state::morse_data_handler_priv_data
void * morse_data_handler_priv_data
Definition rig_state.h:232
rig_state::poll_routine_thread_run
volatile int poll_routine_thread_run
Definition rig_state.h:162
rig_state::rx_range_list3
freq_range_t rx_range_list3[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:220
rig_state::spectrum_scopes
struct rig_spectrum_scope spectrum_scopes[HAMLIB_MAX_SPECTRUM_SCOPES]
Definition rig_state.h:226
rig_state::spectrum_avg_modes
struct rig_spectrum_avg_mode spectrum_avg_modes[HAMLIB_MAX_SPECTRUM_AVG_MODES]
Definition rig_state.h:229
rig_state::write_delay
int write_delay
Definition rig_state.h:201
rig_state::parm_gran
gran_t parm_gran[RIG_SETTING_MAX]
Definition rig_state.h:105
rig_state::rx_range_list1
freq_range_t rx_range_list1[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:216
rig_state::rx_range_list
freq_range_t rx_range_list[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:77
rig_state::rigport_deprecated
hamlib_port_t_deprecated rigport_deprecated
Definition rig_state.h:70
rig_state::tx_range_list3
freq_range_t tx_range_list3[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:221
rig_state::post_write_delay
int post_write_delay
Definition rig_state.h:202
rig_state::transceive
int transceive
Definition rig_state.h:213
rig_state::retry
int retry
Definition rig_state.h:204
rig_state::use_cached_ptt
int use_cached_ptt
Definition rig_state.h:173
rig_state::tx_range_list5
freq_range_t tx_range_list5[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:225
rig_state::rx_vfo
vfo_t rx_vfo
Definition rig_state.h:154
rig_state::agc_level_count
int agc_level_count
Definition rig_state.h:207
rig_state::current_mode
rmode_t current_mode
Definition rig_state.h:122
rig_state::freq_skip
int freq_skip
Definition rig_state.h:246
rig_state::tx_range_list2
freq_range_t tx_range_list2[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:219
rig_state::copyright
const char * copyright
Definition rig_state.h:189
rig_state::has_set_func
setting_t has_set_func
Definition rig_state.h:98
rig_state::uplink
int uplink
Definition rig_state.h:136
rig_state::use_cached_freq
int use_cached_freq
Definition rig_state.h:171
rig_state::doppler
int doppler
Definition rig_state.h:234
rig_state::ctcss_list
tone_t * ctcss_list
Definition rig_state.h:209
rig_state::dcs_list
tone_t * dcs_list
Definition rig_state.h:210
rig_state::obj
rig_ptr_t obj
Definition rig_state.h:117
rig_state::poll_routine_priv_data
void * poll_routine_priv_data
Definition rig_state.h:163
rig_state::twiddle_state
int twiddle_state
Definition rig_state.h:153
rig_state::filters
struct filter_list filters[HAMLIB_FLTLSTSIZ]
Definition rig_state.h:82
rig_state::current_width
pbwidth_t current_width
Definition rig_state.h:124
rig_state::spectrum_spans
freq_t spectrum_spans[HAMLIB_MAX_SPECTRUM_SPANS]
Definition rig_state.h:228
rig_state::client_version
char client_version[32]
Definition rig_state.h:178
rig_state::ptt_share
int ptt_share
Definition rig_state.h:147
rig_state::priv
rig_ptr_t priv
Definition rig_state.h:116
rig_state::cache
HL_DEPRECATED struct rig_cache_deprecated cache
Definition rig_state.h:138
rig_state::lock_mode
int lock_mode
Definition rig_state.h:175
rig_state::tx_range_list
freq_range_t tx_range_list[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:78
rig_state::rx_range_list2
freq_range_t rx_range_list2[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:218
rig_state::use_cached_mode
int use_cached_mode
Definition rig_state.h:172
rig_state::multicast
struct multicast_s * multicast
Definition rig_state.h:181
rig_state::current_freq
freq_t current_freq
Definition rig_state.h:121
rig_state::multicast_receiver_priv_data
void * multicast_receiver_priv_data
Definition rig_state.h:240
rig_state::client
client_t client
Definition rig_state.h:247
rig_state::dcdport
hamlib_port_t dcdport
Definition rig_state.h:167
rig_state::serial_handshake
enum serial_handshake_e serial_handshake
Definition rig_state.h:200
rig_state::offset_vfoa
freq_t offset_vfoa
Definition rig_state.h:179
rig_state::api_mutex
pthread_mutex_t api_mutex
Definition rig_state.h:248
rig_state::port_type
rig_port_t port_type
Definition rig_state.h:194
rig_state::depth
int depth
Definition rig_state.h:174
rig_state::mfg_name
const char * mfg_name
Definition rig_state.h:187
rig_state::powerstat
powerstat_t powerstat
Definition rig_state.h:176
rig_state::multicast_cmd_addr
char * multicast_cmd_addr
Definition rig_state.h:237
rig_state::offset_vfob
freq_t offset_vfob
Definition rig_state.h:180
rig_state::chan_desc_sz
int chan_desc_sz
Definition rig_state.h:215
rig_state::twiddle_time
time_t twiddle_time
Definition rig_state.h:133
rig_state::tx_vfo
vfo_t tx_vfo
Definition rig_state.h:125
rig_state::deprecated_itu_region
int deprecated_itu_region
Definition rig_state.h:76
rig_state::power_min
int power_min
Definition rig_state.h:149
rig_state::vfo_comp
double vfo_comp
Definition rig_state.h:74
rig_state::has_set_level
setting_t has_set_level
Definition rig_state.h:100
rig_state::pttport_deprecated
hamlib_port_t_deprecated pttport_deprecated
Definition rig_state.h:71
rig_state::async_data_supported
int async_data_supported
Definition rig_state.h:206
rig_state::multicast_publisher_run
volatile int multicast_publisher_run
Definition rig_state.h:158
rig_state::max_xit
shortfreq_t max_xit
Definition rig_state.h:89
rig_state::post_ptt_delay
int post_ptt_delay
Definition rig_state.h:244
rig_state::rigport
hamlib_port_t rigport
Definition rig_state.h:165
rig_state::power_now
int power_now
Definition rig_state.h:148
rig_state::rx_range_list4
freq_range_t rx_range_list4[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:222
rig_state::chan_list
chan_t chan_list[HAMLIB_CHANLSTSIZ]
Definition rig_state.h:86
rig_state::spectrum_modes
enum rig_spectrum_mode_e spectrum_modes[HAMLIB_MAX_SPECTRUM_MODES]
Definition rig_state.h:227
rig_state::model_name
const char * model_name
Definition rig_state.h:186
rig_state::twiddle_timeout
int twiddle_timeout
Definition rig_state.h:134
rig_state::poll_interval
int poll_interval
Definition rig_state.h:120
rig_state::spectrum_attenuator
int spectrum_attenuator[HAMLIB_MAXDBLSTSIZ]
Definition rig_state.h:230
rig_state::rig_type
int rig_type
Definition rig_state.h:191
rig_state::disable_yaesu_bandselect
unsigned char disable_yaesu_bandselect
Definition rig_state.h:151
rig_state::auto_power_off
int auto_power_off
Definition rig_state.h:142
rig_state::dcd_type
dcd_type_t dcd_type
Definition rig_state.h:193
rig_state::multicast_cmd_port
int multicast_cmd_port
Definition rig_state.h:238
rig_state::serial_rate_min
int serial_rate_min
Definition rig_state.h:195
rig_state::status
enum rig_status_e status
Definition rig_state.h:190
rig_state::serial_parity
enum serial_parity_e serial_parity
Definition rig_state.h:199
rig_state::has_get_parm
setting_t has_get_parm
Definition rig_state.h:101
rig_state::preamp
int preamp[HAMLIB_MAXDBLSTSIZ]
Definition rig_state.h:94
rig_state::current_vfo
vfo_t current_vfo
Definition rig_state.h:113
rig_state::fifo_morse
struct FIFO_RIG_s * fifo_morse
Definition rig_state.h:233
rig_state::rx_range_list5
freq_range_t rx_range_list5[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:224
rig_state::agc_levels
enum agc_level_e agc_levels[HAMLIB_MAX_AGC_LEVELS]
Definition rig_state.h:208
rig_state::dcdport_deprecated
hamlib_port_t_deprecated dcdport_deprecated
Definition rig_state.h:72
rig_state::morse_data_handler_thread_run
volatile int morse_data_handler_thread_run
Definition rig_state.h:231
rig_state::auto_disable_screensaver
int auto_disable_screensaver
Definition rig_state.h:144
rig_state::async_data_handler_priv_data
void * async_data_handler_priv_data
Definition rig_state.h:161
rig_state::comm_state
int comm_state
Definition rig_state.h:115
rig_state::freq_event_elapsed
struct timespec freq_event_elapsed
Definition rig_state.h:245
rig_state::vfo_ops
vfo_op_t vfo_ops
Definition rig_state.h:211
rig_state::targetable_vfo
int targetable_vfo
Definition rig_state.h:205
rig_state::vfo_list
int vfo_list
Definition rig_state.h:114
rig_state::ptt_type
ptt_type_t ptt_type
Definition rig_state.h:192
rig_state::has_get_level
setting_t has_get_level
Definition rig_state.h:99
rig_state::has_get_func
setting_t has_get_func
Definition rig_state.h:97
rig_state::transmit
int transmit
Definition rig_state.h:129
rig_state::announces
ann_t announces
Definition rig_state.h:92
rig_state::serial_rate_max
int serial_rate_max
Definition rig_state.h:196
rig_state::str_cal
cal_table_t str_cal
Definition rig_state.h:84
rig_state::rig_model
rig_model_t rig_model
Definition rig_state.h:185
rig_state::device_id
char device_id[HAMLIB_RIGNAMSIZ]
Definition rig_state.h:242
rig_state::version
const char * version
Definition rig_state.h:188
rig_state::scan_ops
scan_t scan_ops
Definition rig_state.h:212
rig_state::max_ifshift
shortfreq_t max_ifshift
Definition rig_state.h:90
rig_state::snapshot_packet_sequence_number
volatile unsigned int snapshot_packet_sequence_number
Definition rig_state.h:156
rig_state::multicast_data_addr
char * multicast_data_addr
Definition rig_state.h:235
rig_state::multicast_data_port
int multicast_data_port
Definition rig_state.h:236
rig_state::multicast_publisher_priv_data
void * multicast_publisher_priv_data
Definition rig_state.h:159
rig_state::tx_range_list4
freq_range_t tx_range_list4[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:223
rig_state::pttport
hamlib_port_t pttport
Definition rig_state.h:166
rig_state::serial_stop_bits
int serial_stop_bits
Definition rig_state.h:198
rig_state::tx_range_list1
freq_range_t tx_range_list1[HAMLIB_FRQRANGESIZ]
Definition rig_state.h:217
rig_state::tuning_steps
struct tuning_step_list tuning_steps[HAMLIB_TSLSTSIZ]
Definition rig_state.h:80
rig_state::tuner_control_pathname
char * tuner_control_pathname
Definition rig_state.h:177
tuning_step_list
Tuning step definition.
Definition rig.h:1511