Loading...
Searching...
No Matches
mem.c File Reference
Rig (transceiver) API

Memory and channel interface. More...

`#include "hamlib/config.h"`
`#include <stdlib.h>`
`#include <string.h>`
`#include <stdio.h>`
`#include "hamlib/rig.h"`
`#include "hamlib/rig_state.h"`
Include dependency graph for mem.c:

## Functions

int | rig_set_mem (RIG *rig, vfo_t vfo, int ch)
| set the current memory channel number
int | rig_get_mem (RIG *rig, vfo_t vfo, int *ch)
| get the current memory channel number
int | rig_set_bank (RIG *rig, vfo_t vfo, int bank)
| set the current memory bank
int | rig_set_channel (RIG *rig, vfo_t vfo, const channel_t *chan)
| set channel data
int | rig_get_channel (RIG *rig, vfo_t vfox, channel_t *chan, int read_only)
| get channel data
int | rig_set_chan_all_cb (RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t arg)
| set all channel data, by callback
int | rig_get_chan_all_cb (RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t arg)
| get all channel data, by callback
int | rig_set_chan_all (RIG *rig, vfo_t vfo, const channel_t chans[])
| set all channel data
int | rig_get_chan_all (RIG *rig, vfo_t vfo, channel_t chans[])
| get all channel data
int | rig_copy_channel (RIG *rig, channel_t *dest, const channel_t *src)
| copy channel structure to another channel structure
int | rig_set_mem_all_cb (RIG *rig, vfo_t vfo, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
| set all channel and non-channel data by call-back
int | rig_get_mem_all_cb (RIG *rig, vfo_t vfo, chan_cb_t chan_cb, confval_cb_t parm_cb, rig_ptr_t arg)
| get all channel and non-channel data by call-back
int | rig_set_mem_all (RIG *rig, vfo_t vfo, const channel_t chans[], const struct confparams cfgps[], const value_t vals[])
| set all channel and non-channel data
int | rig_get_mem_all (RIG *rig, vfo_t vfo, channel_t chans[], const struct confparams cfgps[], value_t vals[])
| get all channel and non-channel data
const chan_t * | rig_lookup_mem_caps (RIG *rig, int ch)
| lookup the memory type and capabilities
int | rig_mem_count (RIG *rig)
| get memory channel count

## Detailed Description

Memory and channel interface.

Author
  Stephane Fillod

Date
  2000-2011

Hamlib interface is a frontend implementing wrapper functions.