* 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
Hamlib-1.2.2
Stéphane Fillod, F8CFE 2004-06-13 12:36:51 +00:00
rodzic b5db6239bb
commit 2764b1c58f
5 zmienionych plików z 18 dodań i 25 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - main header * Hamlib Kenwood backend - main header
* Copyright (c) 2000-2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -27,21 +27,10 @@
#define EOM_TH "\r" #define EOM_TH "\r"
struct kenwood_priv_caps { struct kenwood_priv_caps {
/* read-only values */
const char *cmdtrm; /* Command termination chars (ken=';' or th='\r') */ const char *cmdtrm; /* Command termination chars (ken=';' or th='\r') */
/* changable values */ int if_len; /* length of IF; anwser */
// nothing
}; };
#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[]; extern const int kenwood38_ctcss_list[];

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TS440 description * Hamlib Kenwood backend - TS440 description
* Copyright (c) 2000-2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -46,6 +46,7 @@
static const struct kenwood_priv_caps ts440_priv_caps = { 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, .rig_model = RIG_MODEL_TS440,
.model_name = "TS-440", .model_name = "TS-440",
.mfg_name = "Kenwood", .mfg_name = "Kenwood",
.version = "0.3", .version = "0.4",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_ALPHA, .status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TS-711 description * Hamlib Kenwood backend - TS-711 description
* Copyright (c) 2000-2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -45,6 +45,7 @@
static const struct kenwood_priv_caps ts711_priv_caps = { 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, .rig_model = RIG_MODEL_TS711,
.model_name = "TS-711", .model_name = "TS-711",
.mfg_name = "Kenwood", .mfg_name = "Kenwood",
.version = "0.3", .version = "0.4",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_UNTESTED, .status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TS-811 description * Hamlib Kenwood backend - TS-811 description
* Copyright (c) 2000-2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -45,6 +45,7 @@
static const struct kenwood_priv_caps ts811_priv_caps = { 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, .rig_model = RIG_MODEL_TS811,
.model_name = "TS-811", .model_name = "TS-811",
.mfg_name = "Kenwood", .mfg_name = "Kenwood",
.version = "0.3", .version = "0.4",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_UNTESTED, .status = RIG_STATUS_UNTESTED,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Kenwood backend - TS940 description * Hamlib Kenwood backend - TS940 description
* Copyright (c) 2000-2004 by Stephane Fillod * 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 * This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as * it under the terms of the GNU Library General Public License as
@ -48,6 +48,7 @@
static const struct kenwood_priv_caps ts940_priv_caps = { 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, .rig_model = RIG_MODEL_TS940,
.model_name = "TS-940S", .model_name = "TS-940S",
.mfg_name = "Kenwood", .mfg_name = "Kenwood",
.version = "0.3", .version = "0.4",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_ALPHA, .status = RIG_STATUS_ALPHA,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,