Hamlib  1.2.15
Functions
settings.c File Reference

func/level/parm interface More...

#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "hamlib/rig.h"
#include "cal.h"

Functions

int rig_set_level (RIG *rig, vfo_t vfo, setting_t level, value_t val)
 set a radio level setting
int rig_get_level (RIG *rig, vfo_t vfo, setting_t level, value_t *val)
 get the value of a level
int rig_set_parm (RIG *rig, setting_t parm, value_t val)
 set a radio parameter
int rig_get_parm (RIG *rig, setting_t parm, value_t *val)
 get the value of a parameter
setting_t rig_has_get_level (RIG *rig, setting_t level)
 check retrieval ability of level settings
setting_t rig_has_set_level (RIG *rig, setting_t level)
 check settable ability of level settings
setting_t rig_has_get_parm (RIG *rig, setting_t parm)
 check retrieval ability of parameter settings
setting_t rig_has_set_parm (RIG *rig, setting_t parm)
 check settable ability of parameter settings
setting_t rig_has_get_func (RIG *rig, setting_t func)
 check ability of radio functions
setting_t rig_has_set_func (RIG *rig, setting_t func)
 check ability of radio functions
int rig_set_func (RIG *rig, vfo_t vfo, setting_t func, int status)
 activate/de-activate functions of radio
int rig_get_func (RIG *rig, vfo_t vfo, setting_t func, int *status)
 get the status of functions of the radio
int rig_set_ext_level (RIG *rig, vfo_t vfo, token_t token, value_t val)
 set a radio level extra parameter
int rig_get_ext_level (RIG *rig, vfo_t vfo, token_t token, value_t *val)
 get the value of a level extra parameter
int rig_set_ext_parm (RIG *rig, token_t token, value_t val)
 set a radio parm extra parameter
int rig_get_ext_parm (RIG *rig, token_t token, value_t *val)
 get the value of a parm extra parameter
int rig_setting2idx (setting_t s)
 basically convert setting_t expressed 2^n to n

Detailed Description

func/level/parm interface

Author:
Stephane Fillod
Date:
2000-2010

Hamlib interface is a frontend implementing wrapper functions.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.7.6.1

Hamlib documentation for version 1.2.15 -- Thu Feb 2 2012 21:37:28
Project page: http://www.hamlib.org