Logo Search packages:      
Sourcecode: hamlib version File versions

tones.c File Reference


Detailed Description

CTCSS and DCS interface and tables.

Author:
Stephane Fillod
Date:
2000-2006

Definition in file tones.c.

#include <stdlib.h>
#include "hamlib/rig.h"
#include "tones.h"

Go to the source code of this file.

Defines

#define CHECK_RIG_ARG(r)   (!(r) || !(r)->caps || !(r)->state.comm_state)

Functions

int HAMLIB_API rig_get_ctcss_sql (RIG *rig, vfo_t vfo, tone_t *tone)
 get the current CTCSS squelch
int HAMLIB_API rig_get_ctcss_tone (RIG *rig, vfo_t vfo, tone_t *tone)
 get the current CTCSS sub-tone frequency
int HAMLIB_API rig_get_dcs_code (RIG *rig, vfo_t vfo, tone_t *code)
 get the current encoding DCS code
int HAMLIB_API rig_get_dcs_sql (RIG *rig, vfo_t vfo, tone_t *code)
 get the current DCS code
int HAMLIB_API rig_set_ctcss_sql (RIG *rig, vfo_t vfo, tone_t tone)
 set CTCSS squelch
int HAMLIB_API rig_set_ctcss_tone (RIG *rig, vfo_t vfo, tone_t tone)
 set CTCSS sub-tone frequency
int HAMLIB_API rig_set_dcs_code (RIG *rig, vfo_t vfo, tone_t code)
 set the current encoding DCS code
int HAMLIB_API rig_set_dcs_sql (RIG *rig, vfo_t vfo, tone_t code)
 set the current DCS code

Variables

const tone_t common_ctcss_list [] = { COMMON_CTCSS_LIST }
const tone_t full_ctcss_list [] = { FULL_CTCSS_LIST }
const tone_t full_dcs_list [] = { FULL_DCS_LIST }


Generated by  Doxygen 1.6.0   Back to index