tones.c File Reference

CTCSS and DCS interface and tables. More...

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

Functions

int HAMLIB_API rig_set_ctcss_tone (RIG *rig, vfo_t vfo, tone_t tone)
 set CTCSS sub-tone frequency
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_set_dcs_code (RIG *rig, vfo_t vfo, tone_t code)
 set the current encoding DCS code
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_set_ctcss_sql (RIG *rig, vfo_t vfo, tone_t tone)
 set CTCSS squelch
int HAMLIB_API rig_get_ctcss_sql (RIG *rig, vfo_t vfo, tone_t *tone)
 get the current CTCSS squelch
int HAMLIB_API rig_set_dcs_sql (RIG *rig, vfo_t vfo, tone_t code)
 set the current DCS code
int HAMLIB_API rig_get_dcs_sql (RIG *rig, vfo_t vfo, tone_t *code)
 get the current DCS code

Variables

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

Detailed Description

CTCSS and DCS interface and tables.

Author:
Stephane Fillod
Date:
2000-2010
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.6.1

Hamlib documentation for version 1.2.15.3 -- Tue Aug 27 14:08:00 2013
Project page: http://www.hamlib.org