From 2764b1c58fd875bbb9ff20024026dbb5e0a5da57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 13 Jun 2004 12:36:51 +0000 Subject: [PATCH] * ic10: added if_len field to priv_caps struct git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1753 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- kenwood/kenwood.h | 15 ++------------- kenwood/ts440.c | 7 ++++--- kenwood/ts711.c | 7 ++++--- kenwood/ts811.c | 7 ++++--- kenwood/ts940.c | 7 ++++--- 5 files changed, 18 insertions(+), 25 deletions(-) diff --git a/kenwood/kenwood.h b/kenwood/kenwood.h index 8009f869c..4da2b819e 100644 --- a/kenwood/kenwood.h +++ b/kenwood/kenwood.h @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - main header * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: kenwood.h,v 1.36 2004-05-02 17:17:31 fillods Exp $ + * $Id: kenwood.h,v 1.37 2004-06-13 12:36:51 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 @@ -27,21 +27,10 @@ #define EOM_TH "\r" struct kenwood_priv_caps { - /* read-only values */ const char *cmdtrm; /* Command termination chars (ken=';' or th='\r') */ - /* changable values */ - // nothing + int if_len; /* length of IF; anwser */ }; -#if 0 /* No private data for Kenwood backends. */ -struct kenwood_priv_data { - int dummy; // placeholder for real entries. -}; -#endif - -extern int kenwood_init(RIG *rig); -extern int kenwood_cleanup(RIG *rig); - extern const int kenwood38_ctcss_list[]; diff --git a/kenwood/ts440.c b/kenwood/ts440.c index 50b612c66..7be51df61 100644 --- a/kenwood/ts440.c +++ b/kenwood/ts440.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TS440 description * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: ts440.c,v 1.10 2004-05-02 17:17:31 fillods Exp $ + * $Id: ts440.c,v 1.11 2004-06-13 12:36:51 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 @@ -45,7 +45,8 @@ #define TS440_SCAN_OPS (RIG_SCAN_VFO) static const struct kenwood_priv_caps ts440_priv_caps = { - .cmdtrm = EOM_KEN, + .cmdtrm = EOM_KEN, + .if_len = 29, }; /* @@ -62,7 +63,7 @@ const struct rig_caps ts440_caps = { .rig_model = RIG_MODEL_TS440, .model_name = "TS-440", .mfg_name = "Kenwood", -.version = "0.3", +.version = "0.4", .copyright = "LGPL", .status = RIG_STATUS_ALPHA, .rig_type = RIG_TYPE_TRANSCEIVER, diff --git a/kenwood/ts711.c b/kenwood/ts711.c index ab4a1dc6b..99cc22a5a 100644 --- a/kenwood/ts711.c +++ b/kenwood/ts711.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TS-711 description * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: ts711.c,v 1.2 2004-05-02 17:17:31 fillods Exp $ + * $Id: ts711.c,v 1.3 2004-06-13 12:36:51 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,7 +44,8 @@ #define TS711_SCAN_OP (RIG_SCAN_VFO) static const struct kenwood_priv_caps ts711_priv_caps = { - .cmdtrm = EOM_KEN, + .cmdtrm = EOM_KEN, + .if_len = 29, }; /* @@ -58,7 +59,7 @@ const struct rig_caps ts711_caps = { .rig_model = RIG_MODEL_TS711, .model_name = "TS-711", .mfg_name = "Kenwood", -.version = "0.3", +.version = "0.4", .copyright = "LGPL", .status = RIG_STATUS_UNTESTED, .rig_type = RIG_TYPE_TRANSCEIVER, diff --git a/kenwood/ts811.c b/kenwood/ts811.c index d11ca5491..fac9beeab 100644 --- a/kenwood/ts811.c +++ b/kenwood/ts811.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TS-811 description * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: ts811.c,v 1.2 2004-05-02 17:17:31 fillods Exp $ + * $Id: ts811.c,v 1.3 2004-06-13 12:36:51 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,7 +44,8 @@ #define TS811_SCAN_OP (RIG_SCAN_VFO) static const struct kenwood_priv_caps ts811_priv_caps = { - .cmdtrm = EOM_KEN, + .cmdtrm = EOM_KEN, + .if_len = 29, }; /* @@ -58,7 +59,7 @@ const struct rig_caps ts811_caps = { .rig_model = RIG_MODEL_TS811, .model_name = "TS-811", .mfg_name = "Kenwood", -.version = "0.3", +.version = "0.4", .copyright = "LGPL", .status = RIG_STATUS_UNTESTED, .rig_type = RIG_TYPE_TRANSCEIVER, diff --git a/kenwood/ts940.c b/kenwood/ts940.c index 1279d289f..bb81d4e8c 100644 --- a/kenwood/ts940.c +++ b/kenwood/ts940.c @@ -2,7 +2,7 @@ * Hamlib Kenwood backend - TS940 description * Copyright (c) 2000-2004 by Stephane Fillod * - * $Id: ts940.c,v 1.3 2004-05-17 21:01:03 fillods Exp $ + * $Id: ts940.c,v 1.4 2004-06-13 12:36:51 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,8 @@ #define TS940_SCAN_OPS (RIG_SCAN_VFO) static const struct kenwood_priv_caps ts940_priv_caps = { - .cmdtrm = EOM_KEN, + .cmdtrm = EOM_KEN, + .if_len = 29, }; /* @@ -61,7 +62,7 @@ const struct rig_caps ts940_caps = { .rig_model = RIG_MODEL_TS940, .model_name = "TS-940S", .mfg_name = "Kenwood", -.version = "0.3", +.version = "0.4", .copyright = "LGPL", .status = RIG_STATUS_ALPHA, .rig_type = RIG_TYPE_TRANSCEIVER,