From dac26edfcedf2f32ed80f4ad9c2b4835fe738ca5 Mon Sep 17 00:00:00 2001 From: "Martin Ewing, AA6E" Date: Sat, 12 Jul 2008 17:19:47 +0000 Subject: [PATCH] Add AF, RF gain and squelch level capability. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2374 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- icom/README.icom | 7 +++++++ icom/ic756.c | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/icom/README.icom b/icom/README.icom index 0d0afbec8..0cbb57689 100644 --- a/icom/README.icom +++ b/icom/README.icom @@ -7,4 +7,11 @@ Notes on Icom backends 2008-03, AA6E: Tested and extended omni.c for Ten-Tec Omni VI and Omni VI Plus It is now at least "beta" level. +2008-07, AA6E: Tests with IC-756PROIII at ARRL. Added AF, RF, SQL levels, COMP, + BALANCE. Note: communications do not seem completely reliable for baud + rates > 9600. + VOX-related commands are implemented for the '910H but are wrong for + the '756 and other models. They should be reimplemented in a more general way. + + diff --git a/icom/ic756.c b/icom/ic756.c index 3e159f83d..6f9ef9620 100644 --- a/icom/ic756.c +++ b/icom/ic756.c @@ -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.16 2007-02-28 08:50:20 mardigras Exp $ + * $Id: ic756.c,v 1.17 2008-07-12 17:19:47 aa6e 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,11 @@ #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_RF) -#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 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|RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_COMP|RIG_LEVEL_BALANCE) + +/* Note that RIG_LEVEL_VOXGAIN and RIG_LEVEL_ANTIVOX are incorrectly handled in icom.c for + * this model. + */ #define IC756_VFO_ALL (RIG_VFO_A|RIG_VFO_B)