remove deprecated RIG_LEVEL_SQLSTAT and fix get_dcd, fix str_cal in icom backend

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1853 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.3
Stéphane Fillod, F8CFE 2004-09-26 08:35:05 +00:00
rodzic bf57aaaf3d
commit fe10198f27
36 zmienionych plików z 144 dodań i 184 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Alinco backend - main file
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: alinco.c,v 1.23 2004-07-07 00:27:52 nj8j Exp $
* $Id: alinco.c,v 1.24 2004-09-26 08:34:53 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -693,9 +693,6 @@ int alinco_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
val->i = atoi(lvlbuf+3);
break;
case RIG_LEVEL_SQLSTAT:
return -RIG_ENIMPL; /* get_dcd ? */
case RIG_LEVEL_PREAMP:
retval = current_data_read(rig, lvlbuf);
if (retval != RIG_OK)

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Alinco backend - DX77 description
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: dx77.c,v 1.12 2004-08-01 21:19:30 fillods Exp $
* $Id: dx77.c,v 1.13 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -37,7 +37,7 @@
#define DX77_FUNC (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_TONE)
#define DX77_LEVEL_ALL (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_RFPOWER|RIG_LEVEL_KEYSPD|RIG_LEVEL_BKINDL|RIG_LEVEL_CWPITCH)
#define DX77_LEVEL_ALL (RIG_LEVEL_RAWSTR|RIG_LEVEL_RFPOWER|RIG_LEVEL_KEYSPD|RIG_LEVEL_BKINDL|RIG_LEVEL_CWPITCH)
#define DX77_PARM_ALL (RIG_PARM_BEEP|RIG_PARM_BACKLIGHT)
@ -84,7 +84,7 @@ const struct rig_caps dx77_caps = {
.status = RIG_STATUS_BETA,
.rig_type = RIG_TYPE_TRANSCEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 9600,
.serial_rate_max = 9600,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of IC-703
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: ic703.c,v 1.3 2003-12-08 08:33:57 fillods Exp $
* $Id: ic703.c,v 1.4 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -38,7 +38,7 @@
#define IC703_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_SBKIN|RIG_FUNC_FBKIN|RIG_FUNC_NR|RIG_FUNC_ANF|RIG_FUNC_MON)
#define IC703_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_ALC|RIG_LEVEL_SWR|RIG_LEVEL_METER|RIG_LEVEL_COMP|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_RF|RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_NR|RIG_LEVEL_IF|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT)
#define IC703_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_RAWSTR|RIG_LEVEL_ALC|RIG_LEVEL_SWR|RIG_LEVEL_METER|RIG_LEVEL_COMP|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_RF|RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_NR|RIG_LEVEL_IF|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT)
#define IC703_VFO_ALL (RIG_VFO_A|RIG_VFO_B)
@ -87,12 +87,12 @@ const struct rig_caps ic703_caps = {
.rig_model = RIG_MODEL_IC703,
.model_name = "IC-703",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_MOBILE,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 19200,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of IC-706 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: ic706.c,v 1.35 2003-12-08 08:33:57 fillods Exp $
* $Id: ic706.c,v 1.36 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -42,7 +42,7 @@
#define IC706IIG_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_SBKIN|RIG_FUNC_FBKIN)
#define IC706IIG_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define IC706IIG_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_RAWSTR)
#define IC706_VFO_ALL (RIG_VFO_A|RIG_VFO_B)
@ -112,7 +112,7 @@ const struct rig_caps ic706_caps = {
.rig_model = RIG_MODEL_IC706,
.model_name = "IC-706",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_MOBILE,
@ -243,7 +243,7 @@ const struct rig_caps ic706mkii_caps = {
.rig_model = RIG_MODEL_IC706MKII,
.model_name = "IC-706MkII",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_MOBILE,
@ -397,7 +397,7 @@ const struct rig_caps ic706mkiig_caps = {
.rig_model = RIG_MODEL_IC706MKIIG,
.model_name = "IC-706MkIIG",
.mfg_name = "Icom",
.version = "0.2.1",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_BETA,
.rig_type = RIG_TYPE_MOBILE,

Wyświetl plik

@ -1,9 +1,9 @@
/*
* Hamlib CI-V backend - description of IC-718 caps
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
* Caps submitted by Chuck Gilkes WD0FCL/4
*
* $Id: ic718.c,v 1.7 2003-12-08 08:33:57 fillods Exp $
* $Id: ic718.c,v 1.8 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -44,14 +44,14 @@
#define IC718_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_SBKIN|RIG_FUNC_FBKIN)
#define IC718_LEVEL_ALL (RIG_LEVEL_MICGAIN|RIG_LEVEL_NR|RIG_LEVEL_CWPITCH|RIG_LEVEL_KEYSPD|RIG_LEVEL_RFPOWER|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define IC718_LEVEL_ALL (RIG_LEVEL_MICGAIN|RIG_LEVEL_NR|RIG_LEVEL_CWPITCH|RIG_LEVEL_KEYSPD|RIG_LEVEL_RFPOWER|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RAWSTR)
#define IC718_VFO_ALL (RIG_VFO_A|RIG_VFO_B)
#define IC718_VFO_ALL (RIG_VFO_A|RIG_VFO_B|RIG_VFO_MEM)
#define IC718_VFO_OPS (RIG_OP_CPY|RIG_OP_XCHG|RIG_OP_FROM_VFO|RIG_OP_TO_VFO|RIG_OP_MCL)
#define IC718_SCAN_OPS (RIG_SCAN_MEM)
#define IC718_STR_CAL { 0, { } }
#define IC718_STR_CAL UNKNOWN_IC_STR_CAL
@ -65,12 +65,12 @@ const struct rig_caps ic718_caps = {
.rig_model = RIG_MODEL_IC718,
.model_name = "IC-718",
.mfg_name = "Icom",
.version = "0.1",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_TRANSCEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 19200,
@ -92,6 +92,7 @@ const struct rig_caps ic718_caps = {
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
},
.parm_gran = {},
.str_cal = IC718_STR_CAL,
.ctcss_list = common_ctcss_list,
.dcs_list = NULL,
.preamp = { 10, RIG_DBLST_END, },

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-756 and variations
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: ic756.c,v 1.11 2004-09-25 14:33:16 fillods Exp $
* $Id: ic756.c,v 1.12 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -49,7 +49,7 @@
#define IC756PRO_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_SBKIN|RIG_FUNC_FBKIN|RIG_FUNC_NR|RIG_FUNC_MON|RIG_FUNC_MN|RIG_FUNC_RNF)
#define IC756PRO_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_COMP|RIG_LEVEL_BKINDL|RIG_LEVEL_BALANCE|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_CWPITCH|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_KEYSPD|RIG_LEVEL_NOTCHF||RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define IC756PRO_LEVEL_ALL (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_COMP|RIG_LEVEL_BKINDL|RIG_LEVEL_BALANCE|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_CWPITCH|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_KEYSPD|RIG_LEVEL_NOTCHF|RIG_LEVEL_RAWSTR)
#define IC756_VFO_ALL (RIG_VFO_A|RIG_VFO_B)
@ -96,7 +96,7 @@ const struct rig_caps ic756_caps = {
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_TRANSCEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 19200,
@ -346,7 +346,6 @@ const struct rig_caps ic756pro_caps = {
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.set_ptt = icom_set_ptt,
.get_ptt = icom_get_ptt,
.get_dcd = icom_get_dcd,
.set_ts = icom_set_ts,
.get_ts = icom_get_ts,
@ -536,7 +535,6 @@ const struct rig_caps ic756pro2_caps = {
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.set_ptt = icom_set_ptt,
.get_ptt = icom_get_ptt,
.get_dcd = icom_get_dcd,
.set_ts = icom_set_ts,
.get_ts = icom_get_ts,
@ -780,7 +778,6 @@ const struct rig_caps ic756pro3_caps = {
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.set_ptt = icom_set_ptt,
.get_ptt = icom_get_ptt,
.get_dcd = icom_get_dcd,
.set_ts = icom_set_ts,
.get_ts = icom_get_ts,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - description of IC-7800 and variations
* Copyright (c) 2004 by Stephane Fillod
*
* $Id: ic7800.c,v 1.1 2004-09-25 14:33:16 fillods Exp $
* $Id: ic7800.c,v 1.2 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -47,7 +47,7 @@
#define IC7800_FUNCS (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_SBKIN|RIG_FUNC_FBKIN|RIG_FUNC_NR|RIG_FUNC_MON|RIG_FUNC_MN|RIG_FUNC_RNF|RIG_FUNC_ANF|RIG_FUNC_VSC|RIG_FUNC_LOCK)
#define IC7800_LEVELS (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_COMP|RIG_LEVEL_BKINDL|RIG_LEVEL_BALANCE|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_CWPITCH|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_KEYSPD|RIG_LEVEL_NOTCHF||RIG_LEVEL_SQL|RIG_LEVEL_RAWSTR|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_APF|RIG_LEVEL_VOXGAIN|RIG_LEVEL_VOXDELAY|RIG_LEVEL_SWR|RIG_LEVEL_ALC)
#define IC7800_LEVELS (RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_COMP|RIG_LEVEL_BKINDL|RIG_LEVEL_BALANCE|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_CWPITCH|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_KEYSPD|RIG_LEVEL_NOTCHF|RIG_LEVEL_SQL|RIG_LEVEL_RAWSTR|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_APF|RIG_LEVEL_VOXGAIN|RIG_LEVEL_VOXDELAY|RIG_LEVEL_SWR|RIG_LEVEL_ALC)
#define IC7800_VFOS (RIG_VFO_A|RIG_VFO_B|RIG_VFO_MEM)
#define IC7800_PARMS (RIG_PARM_ANN|RIG_PARM_BACKLIGHT)

Wyświetl plik

@ -1,9 +1,9 @@
/*
* Hamlib CI-V backend - description of IC-910 (VHF/UHF All-Mode Tranceiver)
* Contributed by Francois Retief <fgretief@sun.ac.za>
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: ic910.c,v 1.10 2003-12-08 08:33:58 fillods Exp $
* $Id: ic910.c,v 1.11 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -196,7 +196,7 @@ static int ic910_set_freq(RIG* rig, vfo_t vfo, freq_t freq)
RIG_LEVEL_ATT| \
RIG_LEVEL_PREAMP)
#define IC910_STR_CAL { 0, { } } /* FIXME */
#define IC910_STR_CAL UNKNOWN_IC_STR_CAL /* FIXME */
/*
*/
@ -210,12 +210,12 @@ const struct rig_caps ic910_caps = {
.rig_model = RIG_MODEL_IC910,
.model_name = "IC-910",
.mfg_name = "Icom",
.version = "0.1",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_TRANSCEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 19200,
@ -229,7 +229,7 @@ const struct rig_caps ic910_caps = {
.retry = 3,
.has_get_func = IC910_FUNC_ALL,
.has_set_func = IC910_FUNC_ALL | RIG_FUNC_RESUME,
.has_get_level = IC910_LEVEL_ALL | (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR),
.has_get_level = IC910_LEVEL_ALL | (RIG_LEVEL_RAWSTR),
.has_set_level = IC910_LEVEL_ALL,
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
@ -329,6 +329,7 @@ const struct rig_caps ic910_caps = {
.set_mem = icom_set_mem,
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.get_dcd = icom_get_dcd,
.decode_event = icom_decode_event,
};

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - main file
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icom.c,v 1.91 2004-09-25 14:33:16 fillods Exp $
* $Id: icom.c,v 1.92 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -804,10 +804,6 @@ int icom_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
lvl_cn = C_RD_SQSM;
lvl_sc = S_SML;
break;
case RIG_LEVEL_SQLSTAT:
lvl_cn = C_RD_SQSM;
lvl_sc = S_SQL;
break;
case RIG_LEVEL_PREAMP:
lvl_cn = C_CTL_FUNC;
lvl_sc = S_FUNC_PAMP;
@ -944,12 +940,6 @@ int icom_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
case RIG_LEVEL_STRENGTH:
val->i = (int)rig_raw2val(icom_val,&rig->caps->str_cal);
break;
case RIG_LEVEL_SQLSTAT:
/*
* 0x00=sql closed, 0x01=sql open
*/
val->i = icom_val;
break;
case RIG_LEVEL_PREAMP:
if (icom_val == 0) {
val->i = 0;

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib CI-V backend - main header
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icom.h,v 1.69 2004-09-25 14:33:16 fillods Exp $
* $Id: icom.h,v 1.70 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -68,6 +68,12 @@
.rptr_offs = 1, \
}
/*
* S-Meter data for uncalibrated rigs
*/
#define UNKNOWN_IC_STR_CAL { 2, {{ 0, -60}, { 255, 60}} }
struct ts_sc_list {
shortfreq_t ts; /* tuning step */
unsigned char sc; /* sub command */

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of IC-R10
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icr10.c,v 1.2 2003-12-08 08:33:58 fillods Exp $
* $Id: icr10.c,v 1.3 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -34,7 +34,7 @@
#define ICR10_FUNC_ALL (RIG_FUNC_NONE)
#define ICR10_LEVEL_ALL (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define ICR10_LEVEL_ALL (RIG_LEVEL_RAWSTR)
#define ICR10_VFO_ALL (RIG_VFO_A)
@ -44,11 +44,7 @@
/*
* FIXME: S-meter measurement
*/
#define ICR10_STR_CAL { 2, \
{ \
{ 0, -60 }, /* S0 */ \
{ 255, 60 } /* +60 */ \
} }
#define ICR10_STR_CAL UNKNOWN_IC_STR_CAL
static const struct icom_priv_caps icr10_priv_caps = {
0x52, /* default address */
@ -60,7 +56,7 @@ const struct rig_caps icr10_caps = {
.rig_model = RIG_MODEL_ICR10,
.model_name = "IC-R10",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_RECEIVER|RIG_FLAG_HANDHELD,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - IC-R7000 and IC-R7100 descriptions
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icr7000.c,v 1.8 2003-12-08 08:33:58 fillods Exp $
* $Id: icr7000.c,v 1.9 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -43,15 +43,12 @@
static int r7000_set_freq(RIG *rig, vfo_t vfo, freq_t freq);
#define ICR7100_FUNCS (RIG_FUNC_VSC)
#define ICR7100_LEVELS (RIG_LEVEL_ATT|RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define ICR7100_LEVELS (RIG_LEVEL_ATT|RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_RAWSTR)
#define ICR7100_PARMS (RIG_PARM_ANN)
#define ICR7100_SCAN_OPS (RIG_SCAN_MEM) /* TBC */
/* FIXME: S-Meter measurements */
#define ICR7100_STR_CAL { 2, { \
{ 0, -60 }, /* S0 */ \
{ 255, 60 }, /* +60 */ \
} }
#define ICR7100_STR_CAL UNKNOWN_IC_STR_CAL
static const struct icom_priv_caps icr7000_priv_caps = {
0x08, /* default address */
@ -65,7 +62,7 @@ const struct rig_caps icr7000_caps = {
.rig_model = RIG_MODEL_ICR7000,
.model_name = "IC-R7000",
.mfg_name = "Icom",
.version = "0.2.1",
.version = BACKEND_VER ".0",
.copyright = "LGPL",
.status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_RECEIVER,
@ -174,12 +171,12 @@ const struct rig_caps icr7100_caps = {
.rig_model = RIG_MODEL_ICR7100,
.model_name = "IC-R7100",
.mfg_name = "Icom",
.version = "0.2.1",
.version = BACKEND_VER ".0",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_RECEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 1200,
@ -284,6 +281,7 @@ const struct rig_caps icr7100_caps = {
.set_mem = icom_set_mem,
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.get_dcd = icom_get_dcd,
};

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of IC-R72
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icr72.c,v 1.1 2003-11-16 16:58:35 fillods Exp $
* $Id: icr72.c,v 1.2 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -33,7 +33,7 @@
#define ICR72_FUNC_ALL (RIG_FUNC_NONE)
#define ICR72_LEVEL_ALL (RIG_LEVEL_SQLSTAT)
#define ICR72_LEVEL_ALL (RIG_LEVEL_NONE)
#define ICR72_VFO_OPS (RIG_OP_TO_VFO|RIG_OP_FROM_VFO|RIG_OP_MCL)
@ -52,7 +52,7 @@ const struct rig_caps icr72_caps = {
.rig_model = RIG_MODEL_ICR72,
.model_name = "IC-R72",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_RECEIVER,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - IC-R9000 descriptions
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: icr9000.c,v 1.2 2003-12-08 08:33:58 fillods Exp $
* $Id: icr9000.c,v 1.3 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -41,7 +41,7 @@
#define ICR9000_OPS (RIG_OP_FROM_VFO|RIG_OP_MCL)
#define ICR9000_FUNCS (RIG_FUNC_VSC)
#define ICR9000_LEVELS (RIG_LEVEL_ATT|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define ICR9000_LEVELS (RIG_LEVEL_ATT|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_RAWSTR)
#define ICR9000_PARMS (RIG_PARM_ANN)
#define ICR9000_SCAN_OPS (RIG_SCAN_MEM) /* TBC */
@ -49,10 +49,7 @@
/* FIXME: S-Meter measurements */
#define ICR9000_STR_CAL { 2, { \
{ 0, -60 }, /* S0 */ \
{ 255, 60 }, /* +60 */ \
} }
#define ICR9000_STR_CAL UNKNOWN_IC_STR_CAL
static const struct icom_priv_caps icr9000_priv_caps = {
0x2a, /* default address */
@ -66,12 +63,12 @@ const struct rig_caps icr9000_caps = {
.rig_model = RIG_MODEL_ICR9000,
.model_name = "IC-R9000",
.mfg_name = "Icom",
.version = "0.2.1",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_RECEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 300,
.serial_rate_max = 1200,
@ -180,6 +177,7 @@ const struct rig_caps icr9000_caps = {
.set_mem = icom_set_mem,
.vfo_op = icom_vfo_op,
.scan = icom_scan,
.get_dcd = icom_get_dcd,
};

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of ID-1 and variations
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: id1.c,v 1.2 2003-12-08 08:33:58 fillods Exp $
* $Id: id1.c,v 1.3 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -34,7 +34,7 @@
#define ID1_FUNC_ALL (RIG_FUNC_MUTE|RIG_FUNC_MON|RIG_FUNC_TONE|RIG_FUNC_TSQL|RIG_FUNC_LOCK|RIG_FUNC_AFC)
#define ID1_LEVEL_ALL (RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_RFPOWER|RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR)
#define ID1_LEVEL_ALL (RIG_LEVEL_AF|RIG_LEVEL_SQL|RIG_LEVEL_RFPOWER|RIG_LEVEL_PREAMP|RIG_LEVEL_ATT|RIG_LEVEL_RAWSTR)
#define ID1_PARM_ALL (RIG_PARM_BEEP|RIG_PARM_BACKLIGHT /* |RIG_PARM_FAN */)
@ -44,13 +44,9 @@
#define ID1_SCAN_OPS (RIG_SCAN_VFO|RIG_SCAN_MEM)
/*
* FIXME:
* FIXME: real measurement
*/
#define ID1_STR_CAL { 2, \
{ \
{ 45, -60 }, \
{ 204, 60 } /* +60 */ \
} }
#define ID1_STR_CAL UNKNOWN_IC_STR_CAL
const struct ts_sc_list id1_ts_sc_list[] = {
@ -78,7 +74,7 @@ const struct rig_caps id1_caps = {
.rig_model = RIG_MODEL_ICID1,
.model_name = "IC ID-1",
.mfg_name = "Icom",
.version = "0.2",
.version = BACKEND_VER,
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_MOBILE,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - OptoScan extensions
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: optoscan.c,v 1.10 2003-11-16 17:14:43 fillods Exp $
* $Id: optoscan.c,v 1.11 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -462,10 +462,6 @@ int optoscan_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
lvl_cn = C_RD_SQSM;
lvl_sc = S_SML;
break;
case RIG_LEVEL_SQLSTAT:
lvl_cn = C_RD_SQSM;
lvl_sc = S_SQL;
break;
default:
rig_debug(RIG_DEBUG_ERR,"Unsupported get_level %d", level);
return -RIG_EINVAL;
@ -510,12 +506,6 @@ int optoscan_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
case RIG_LEVEL_RAWSTR:
val->i = icom_val;
break;
case RIG_LEVEL_SQLSTAT:
/*
* 0x00=sql closed, 0x01=sql open
*/
val->i = icom_val;
break;
default:
if (RIG_LEVEL_IS_FLOAT(level))
val->f = (float)icom_val/255;

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of the OptoScan456
* Copyright (c) 2000-2003 by Stephane Fillod and Michael Smith
* Copyright (c) 2000-2004 by Stephane Fillod and Michael Smith
*
* $Id: os456.c,v 1.10 2003-12-08 08:33:58 fillods Exp $
* $Id: os456.c,v 1.11 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -42,7 +42,7 @@ extern struct confparams opto_ext_parms[];
#define OS456_MODES (RIG_MODE_AM|RIG_MODE_FM|RIG_MODE_WFM)
#define OS456_VFO_ALL (RIG_VFO_A)
#define OS456_LEVELS (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_AF)
#define OS456_LEVELS (RIG_LEVEL_RAWSTR|RIG_LEVEL_AF)
#define OS456_SCAN_OPS (RIG_SCAN_PLT)
/*
* The signal strength data is in the form of two bytes, each consisting

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib CI-V backend - description of the OptoScan535
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: os535.c,v 1.9 2003-12-08 08:33:58 fillods Exp $
* $Id: os535.c,v 1.10 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -41,7 +41,7 @@ extern struct confparams opto_ext_parms[];
#define OS535_MODES (RIG_MODE_AM|RIG_MODE_FM|RIG_MODE_WFM)
#define OS535_VFO_ALL (RIG_VFO_A)
#define OS535_LEVELS (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_AF)
#define OS535_LEVELS (RIG_LEVEL_RAWSTR|RIG_LEVEL_AF)
#define OS535_SCAN_OPS (RIG_SCAN_PLT)
#define OS535_STR_CAL { 2, { \

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib JRC backend - main file
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: jrc.c,v 1.18 2004-09-14 22:17:49 fineware Exp $
* $Id: jrc.c,v 1.19 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -600,9 +600,6 @@ int jrc_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
val->i = (int)rig_raw2val(atoi(lvlbuf+1), &rig->caps->str_cal);
break;
case RIG_LEVEL_SQLSTAT:
return -RIG_ENIMPL; /* get_dcd ? */
case RIG_LEVEL_ATT:
retval = jrc_transaction (rig, "I" EOM, 2, lvlbuf, &lvl_len);
if (retval != RIG_OK)

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib JRC backend - NRD-535 DSP description
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: nrd535.c,v 1.11 2004-09-14 22:19:09 fineware Exp $
* $Id: nrd535.c,v 1.12 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -102,7 +102,7 @@ const struct rig_caps nrd535_caps = {
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_RECEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 4800,
.serial_rate_max = 4800,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib JRC backend - NRD-545 DSP description
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: nrd545.c,v 1.15 2004-09-14 22:19:10 fineware Exp $
* $Id: nrd545.c,v 1.16 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -35,7 +35,7 @@
#define NRD545_FUNC (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_LOCK|RIG_FUNC_BC|RIG_FUNC_NR)
#define NRD545_LEVEL (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_STRENGTH|RIG_LEVEL_ATT|RIG_LEVEL_RF|RIG_LEVEL_AF|RIG_LEVEL_AGC|RIG_LEVEL_IF|RIG_LEVEL_NR|RIG_LEVEL_NOTCHF|RIG_LEVEL_SQL|RIG_LEVEL_IF|RIG_LEVEL_CWPITCH) /*RIG_LEVEL_BWC*/
#define NRD545_LEVEL (RIG_LEVEL_RAWSTR|RIG_LEVEL_STRENGTH|RIG_LEVEL_ATT|RIG_LEVEL_RF|RIG_LEVEL_AF|RIG_LEVEL_AGC|RIG_LEVEL_IF|RIG_LEVEL_NR|RIG_LEVEL_NOTCHF|RIG_LEVEL_SQL|RIG_LEVEL_IF|RIG_LEVEL_CWPITCH) /*RIG_LEVEL_BWC*/
/* FIXME: add more from "U" command */
#define NRD545_PARM (RIG_PARM_TIME|RIG_PARM_BACKLIGHT|RIG_PARM_BEEP)
@ -100,7 +100,7 @@ const struct rig_caps nrd545_caps = {
.status = RIG_STATUS_BETA,
.rig_type = RIG_TYPE_RECEIVER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 4800,
.serial_rate_max = 4800,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kachina backend - 505DSP description
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: 505dsp.c,v 1.6 2003-11-16 17:14:44 fillods Exp $
* $Id: 505dsp.c,v 1.7 2004-09-26 08:35:03 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -36,7 +36,7 @@
#define K505DSP_FUNC (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_TONE|RIG_FUNC_COMP)
#define K505DSP_LEVEL_ALL (RIG_LEVEL_SQLSTAT|RIG_LEVEL_RAWSTR|RIG_LEVEL_RFPOWER|RIG_LEVEL_KEYSPD|RIG_LEVEL_BKINDL|RIG_LEVEL_CWPITCH)
#define K505DSP_LEVEL_ALL (RIG_LEVEL_RAWSTR|RIG_LEVEL_RFPOWER|RIG_LEVEL_KEYSPD|RIG_LEVEL_BKINDL|RIG_LEVEL_CWPITCH)
#define K505DSP_PARM_ALL (RIG_PARM_NONE)
@ -60,12 +60,12 @@ const struct rig_caps k505dsp_caps = {
.rig_model = RIG_MODEL_505DSP,
.model_name = "505DSP",
.mfg_name = "Kachina",
.version = "0.1",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_COMPUTER,
.ptt_type = RIG_PTT_NONE,
.dcd_type = RIG_DCD_NONE,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 9600,
.serial_rate_max = 9600,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - Elecraft K2 description
* Copyright (c) 2002 by Stephane Fillod
* Copyright (c) 2002-2004 by Stephane Fillod
*
* $Id: k2.c,v 1.1 2002-11-13 20:35:17 fillods Exp $
* $Id: k2.c,v 1.2 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -34,7 +34,7 @@
#define K2_FUNC_ALL (RIG_FUNC_NB|RIG_FUNC_LOCK)
#define K2_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_RFPOWER)
#define K2_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_RFPOWER)
#define K2_VFO (RIG_VFO_A|RIG_VFO_B)
#define K2_VFO_OP (RIG_OP_UP|RIG_OP_DOWN)
@ -55,7 +55,7 @@ const struct rig_caps k2_caps = {
.rig_model = RIG_MODEL_K2,
.model_name = "K2",
.mfg_name = "Elecraft",
.version = "0.2",
.version = "0.2.1",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_TRANSCEIVER,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - main file
* Copyright (c) 2000-2004 by Stephane Fillod and others
*
* $Id: kenwood.c,v 1.77 2004-06-13 12:35:30 fillods Exp $
* $Id: kenwood.c,v 1.78 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -730,7 +730,6 @@ int kenwood_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
else if (agclevel <= 255) val->i = 3;
return ret;
case RIG_LEVEL_SQLSTAT:
case RIG_LEVEL_PREAMP:
case RIG_LEVEL_IF:
case RIG_LEVEL_APF:

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TH-D7 description
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: thd7.c,v 1.13 2004-06-13 12:35:30 fillods Exp $
* $Id: thd7.c,v 1.14 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -51,7 +51,6 @@
#define THD7_LEVEL_ALL (RIG_LEVEL_STRENGTH| \
RIG_LEVEL_SQL| \
RIG_LEVEL_SQLSTAT| \
RIG_LEVEL_AF| \
RIG_LEVEL_RF|\
RIG_LEVEL_MICGAIN)
@ -77,7 +76,7 @@ const struct rig_caps thd7a_caps = {
.rig_model = RIG_MODEL_THD7A,
.model_name = "TH-D7A",
.mfg_name = "Kenwood",
.version = "0.1.1",
.version = "0.1.2",
.copyright = "LGPL",
.status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_HANDHELD|RIG_FLAG_APRS|RIG_FLAG_TNC|RIG_FLAG_DXCLUSTER,
@ -180,6 +179,8 @@ const struct rig_caps thd7a_caps = {
.get_parm = th_get_parm,
.get_info = th_get_info,
.get_dcd = kenwood_get_dcd,
.decode_event = th_decode_event,
};

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TH-F7 description
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: thf7.c,v 1.11 2004-06-13 12:35:30 fillods Exp $
* $Id: thf7.c,v 1.12 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -35,7 +35,7 @@
#define THF7_FUNC_ALL (RIG_FUNC_TSQL|RIG_FUNC_AIP|RIG_FUNC_SQL)
#define THF7_LEVEL_ALL (RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_MICGAIN)
#define THF7_LEVEL_ALL (RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_MICGAIN)
#define THF7_PARMS (RIG_PARM_BACKLIGHT)

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TM-D700 description
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: tmd700.c,v 1.4 2004-06-13 12:35:30 fillods Exp $
* $Id: tmd700.c,v 1.5 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -46,7 +46,6 @@
#define TMD700_LEVEL_ALL (RIG_LEVEL_STRENGTH| \
RIG_LEVEL_SQL| \
RIG_LEVEL_SQLSTAT| \
RIG_LEVEL_AF| \
RIG_LEVEL_RF|\
RIG_LEVEL_MICGAIN)
@ -74,7 +73,7 @@ const struct rig_caps tmd700_caps = {
.rig_model = RIG_MODEL_TMD700,
.model_name = "TM-D700",
.mfg_name = "Kenwood",
.version = "0.1",
.version = "0.1.1",
.copyright = "LGPL",
.status = RIG_STATUS_NEW,
.rig_type = RIG_TYPE_MOBILE|RIG_FLAG_APRS|RIG_FLAG_TNC,
@ -193,6 +192,7 @@ const struct rig_caps tmd700_caps = {
.get_level = th_get_level,
.get_parm = th_get_parm,
.get_info = th_get_info,
.get_dcd = th_get_dcd,
.decode_event = th_decode_event,
};

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - TS2000 description
* Copyright (c) 2000-2003 by Stephane Fillod
* Copyright (c) 2000-2004 by Stephane Fillod
*
* $Id: ts2000.c,v 1.15 2003-10-01 19:31:58 fillods Exp $
* $Id: ts2000.c,v 1.16 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -36,7 +36,7 @@
#define TS2000_FUNC_ALL (RIG_FUNC_TSQL)
#define TS2000_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS2000_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS2000_MAINVFO (RIG_VFO_A|RIG_VFO_B)
#define TS2000_SUBVFO (RIG_VFO_C)

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - TS50 description
* Copyright (c) 2002 by Stephane Fillod
* Copyright (c) 2002-2004 by Stephane Fillod
*
* $Id: ts50s.c,v 1.10 2002-11-04 22:40:55 fillods Exp $
* $Id: ts50s.c,v 1.11 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -36,7 +36,7 @@
#define TS50_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_TSQL|RIG_FUNC_TONE|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_NR|RIG_FUNC_LOCK|RIG_FUNC_BC)
#define TS50_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS50_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS50_VFO (RIG_VFO_A|RIG_VFO_B)
#define TS50_VFO_OP (RIG_OP_UP|RIG_OP_DOWN)
@ -54,7 +54,7 @@ const struct rig_caps ts50s_caps = {
.rig_model = RIG_MODEL_TS50,
.model_name = "TS-50S",
.mfg_name = "Kenwood",
.version = "0.2",
.version = "0.2.1",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_MOBILE,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - TS570 description
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: ts570.c,v 1.20 2003-10-01 19:31:59 fillods Exp $
* $Id: ts570.c,v 1.21 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -37,7 +37,7 @@
#define TS570_FUNC_ALL (RIG_FUNC_FAGC|RIG_FUNC_TSQL|RIG_FUNC_TONE|RIG_FUNC_NB|RIG_FUNC_COMP|RIG_FUNC_VOX|RIG_FUNC_NR|RIG_FUNC_LOCK|RIG_FUNC_BC)
#define TS570_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS570_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS570_VFO (RIG_VFO_A|RIG_VFO_B)
#define TS570_VFO_OP (RIG_OP_UP|RIG_OP_DOWN)

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib Kenwood backend - TS950 description
* Copyright (c) 2002-2003 by Stephane Fillod
* Copyright (c) 2002-2004 by Stephane Fillod
*
* $Id: ts950.c,v 1.12 2003-10-01 19:31:59 fillods Exp $
* $Id: ts950.c,v 1.13 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -36,7 +36,7 @@
#define TS950_FUNC_ALL (RIG_FUNC_TSQL)
#define TS950_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS950_LEVEL_ALL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_STRENGTH|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN)
#define TS950_VFO (RIG_VFO_A|RIG_VFO_B)
@ -55,7 +55,7 @@ const struct rig_caps ts950sdx_caps = {
.rig_model = RIG_MODEL_TS950SDX,
.model_name = "TS-950SDX",
.mfg_name = "Kenwood",
.version = "0.2.4",
.version = "0.2.5",
.copyright = "LGPL",
.status = RIG_STATUS_BETA,
.rig_type = RIG_TYPE_TRANSCEIVER,

Wyświetl plik

@ -1,8 +1,8 @@
/*
* Hamlib PCR backend - PCR-100 description
* Copyright (c) 2001-2003 by Stephane Fillod
* Copyright (c) 2001-2004 by Stephane Fillod
*
* $Id: pcr100.c,v 1.4 2003-10-01 19:31:59 fillods Exp $
* $Id: pcr100.c,v 1.5 2004-09-26 08:35:04 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -35,7 +35,7 @@
#define PCR100_FUNC (RIG_FUNC_FAGC|RIG_FUNC_NB|RIG_FUNC_TSQL|RIG_FUNC_ANF|RIG_FUNC_NR)
#define PCR100_LEVEL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_SQLSTAT|RIG_LEVEL_AF|RIG_LEVEL_STRENGTH)
#define PCR100_LEVEL (RIG_LEVEL_ATT|RIG_LEVEL_AGC|RIG_LEVEL_SQL|RIG_LEVEL_AF|RIG_LEVEL_STRENGTH)
/*
* IC PCR100 rigs capabilities.

Wyświetl plik

@ -3,7 +3,7 @@
* This programs dumps the capabilities of a backend rig.
*
*
* $Id: dumpcaps.c,v 1.42 2004-05-17 21:09:44 fillods Exp $
* $Id: dumpcaps.c,v 1.43 2004-09-26 08:35:04 fillods Exp $
*
*
* This program is free software; you can redistribute it and/or
@ -225,6 +225,17 @@ int dumpcaps (RIG* rig)
sprintf_level_gran(prntbuf, caps->has_get_level, caps->level_gran);
printf("Get level: %s\n", prntbuf);
if ((caps->has_get_level&RIG_LEVEL_SQLSTAT)) {
printf("Warning: backend uses deprecated SQLSTAT level!\n");
backend_warnings++;
}
if ((caps->has_get_level&RIG_LEVEL_RAWSTR) &&
caps->str_cal.size == 0) {
printf("Warning: backend has get RAWSTR, but not calibration data\n");
backend_warnings++;
}
sprintf_level_gran(prntbuf, caps->has_set_level, caps->level_gran);
printf("Set level: %s\n", prntbuf);
if (caps->has_set_level&RIG_LEVEL_READONLY_LIST) {

Wyświetl plik

@ -64,7 +64,7 @@ Set serial speed to \fBbaud\fP rate. Uses maximal rig speed as default.
.TP
.B \-c, --civaddr=id
Use \fBid\fP as the CI-V address to communicate with the rig.
Only for Icom rigs. NB: the id is in decimal, unless prefixed by \fB0x\fP,
Only for Icom rigs. NB: the \fBid\fP is in decimal notation, unless prefixed by \fB0x\fP,
in which case it is hexadecimal.
.TP
.B \-L, \-\-show-conf
@ -217,7 +217,7 @@ AGC, BKINDL, BAL, METER, VOXGAIN, ANTIVOX. Plus "extra" levels.
.TP
.B l, get_level
Get level value: also
SWR, ALC, SQLSTAT, STRENGTH, RAWSTR.
SWR, ALC, STRENGTH, RAWSTR.
.TP
.B P, set_parm
Set parm/value:

Wyświetl plik

@ -13,7 +13,7 @@
* The starting point for this code was Frank's ft847 implementation.
*
*
* $Id: ft857.c,v 1.5 2004-08-10 21:00:13 fillods Exp $
* $Id: ft857.c,v 1.6 2004-09-26 08:35:05 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -165,7 +165,7 @@ const struct rig_caps ft857_caps = {
.retry = 0,
.has_get_func = RIG_FUNC_NONE,
.has_set_func = RIG_FUNC_LOCK | RIG_FUNC_TONE | RIG_FUNC_TSQL,
.has_get_level = RIG_LEVEL_STRENGTH | RIG_LEVEL_RFPOWER | RIG_LEVEL_SQLSTAT,
.has_get_level = RIG_LEVEL_STRENGTH | RIG_LEVEL_RFPOWER,
.has_set_level = RIG_LEVEL_NONE,
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
@ -527,9 +527,6 @@ static int ft857_get_smeter_level(RIG *rig, value_t *val)
int ft857_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
{
dcd_t dcd;
int n;
if (vfo != RIG_VFO_CURR)
return -RIG_ENTARGET;
@ -540,12 +537,6 @@ int ft857_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
case RIG_LEVEL_RFPOWER:
return ft857_get_pometer_level(rig, val);
case RIG_LEVEL_SQLSTAT:
if ((n = ft857_get_dcd(rig, vfo, &dcd)) < 0)
return n;
val->i = dcd;
break;
default:
return -RIG_EINVAL;
}

Wyświetl plik

@ -11,7 +11,7 @@
* The starting point for this code was Frank's ft847 implementation.
*
*
* $Id: ft897.c,v 1.2 2004-08-10 21:00:13 fillods Exp $
* $Id: ft897.c,v 1.3 2004-09-26 08:35:05 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -163,7 +163,7 @@ const struct rig_caps ft897_caps = {
.retry = 0,
.has_get_func = RIG_FUNC_NONE,
.has_set_func = RIG_FUNC_LOCK | RIG_FUNC_TONE | RIG_FUNC_TSQL,
.has_get_level = RIG_LEVEL_STRENGTH | RIG_LEVEL_RFPOWER | RIG_LEVEL_SQLSTAT,
.has_get_level = RIG_LEVEL_STRENGTH | RIG_LEVEL_RFPOWER,
.has_set_level = RIG_LEVEL_NONE,
.has_get_parm = RIG_PARM_NONE,
.has_set_parm = RIG_PARM_NONE,
@ -525,9 +525,6 @@ static int ft897_get_smeter_level(RIG *rig, value_t *val)
int ft897_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
{
dcd_t dcd;
int n;
if (vfo != RIG_VFO_CURR)
return -RIG_ENTARGET;
@ -538,12 +535,6 @@ int ft897_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
case RIG_LEVEL_RFPOWER:
return ft897_get_pometer_level(rig, val);
case RIG_LEVEL_SQLSTAT:
if ((n = ft897_get_dcd(rig, vfo, &dcd)) < 0)
return n;
val->i = dcd;
break;
default:
return -RIG_EINVAL;
}