2003-05-12 22:29:59 +00:00
|
|
|
/*
|
|
|
|
* Hamlib Tentec backend - Argonaut, Jupiter, RX-350 header
|
|
|
|
* Copyright (c) 2001-2003 by Stephane Fillod
|
|
|
|
*
|
|
|
|
*
|
2011-08-22 01:22:00 +00:00
|
|
|
* 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.
|
2003-05-12 22:29:59 +00:00
|
|
|
*
|
2011-08-22 01:22:00 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2003-05-12 22:29:59 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-08-22 01:22:00 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2003-05-12 22:29:59 +00:00
|
|
|
*
|
2011-08-22 01:22:00 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2003-05-12 22:29:59 +00:00
|
|
|
* License along with this library; if not, write to the Free Software
|
2011-08-22 01:22:00 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2003-05-12 22:29:59 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TENTEC2_H
|
|
|
|
#define _TENTEC2_H 1
|
|
|
|
|
|
|
|
#include <hamlib/rig.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Mem caps to be checked..
|
|
|
|
*/
|
|
|
|
#define TT_MEM_CAP { \
|
|
|
|
.freq = 1, \
|
|
|
|
.mode = 1, \
|
|
|
|
.width = 1, \
|
|
|
|
.tx_freq = 1, \
|
|
|
|
.tx_mode = 1, \
|
|
|
|
.tx_width = 1, \
|
|
|
|
.split = 1, \
|
|
|
|
}
|
|
|
|
|
|
|
|
int tentec2_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
|
|
|
|
int tentec2_get_freq(RIG *rig, vfo_t vfo, freq_t *freq);
|
|
|
|
int tentec2_set_vfo(RIG *rig, vfo_t vfo);
|
|
|
|
int tentec2_get_vfo(RIG *rig, vfo_t *vfo);
|
|
|
|
int tentec2_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
|
|
|
|
int tentec2_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width);
|
|
|
|
int tentec2_set_split_vfo(RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo);
|
|
|
|
int tentec2_get_split_vfo(RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo);
|
|
|
|
int tentec2_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt);
|
|
|
|
int tentec2_reset(RIG *rig, reset_t reset);
|
|
|
|
const char* tentec2_get_info(RIG *rig);
|
|
|
|
|
|
|
|
#endif /* _TENTEC2_H */
|