kopia lustrzana https://github.com/Hamlib/Hamlib
added TS-50S and TS-950SDX
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@837 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.3
rodzic
b57d9e0d45
commit
dc2312df09
|
@ -1,4 +1,5 @@
|
||||||
TSSRCLIST = ts870s.c ts570.c ts450s.c ts2000.c thd7.c thf7.c
|
TSSRCLIST = ts870s.c ts570.c ts450s.c ts2000.c ts950.c ts50s.c \
|
||||||
|
thd7.c thf7.c
|
||||||
|
|
||||||
lib_LTLIBRARIES = libhamlib-kenwood.la
|
lib_LTLIBRARIES = libhamlib-kenwood.la
|
||||||
libhamlib_kenwood_la_SOURCES = $(TSSRCLIST) kenwood.c th.c
|
libhamlib_kenwood_la_SOURCES = $(TSSRCLIST) kenwood.c th.c
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Hamlib Kenwood backend - main file
|
* Hamlib Kenwood backend - main file
|
||||||
* Copyright (c) 2000,2001,2002 by Stephane Fillod
|
* Copyright (c) 2000,2001,2002 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: kenwood.c,v 1.24 2002-01-02 23:38:07 fillods Exp $
|
* $Id: kenwood.c,v 1.25 2002-01-03 21:42:53 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
|
||||||
|
@ -396,6 +396,11 @@ int kenwood_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int kenwood_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val)
|
||||||
|
{
|
||||||
|
return -RIG_ENIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* assumes f!=NULL
|
* assumes f!=NULL
|
||||||
*/
|
*/
|
||||||
|
@ -521,6 +526,13 @@ int kenwood_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int kenwood_set_func(RIG *rig, vfo_t vfo, setting_t func, int status)
|
||||||
|
{
|
||||||
|
return -RIG_ENIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* assumes status!=NULL
|
* assumes status!=NULL
|
||||||
* works for any 'format 1' command
|
* works for any 'format 1' command
|
||||||
|
@ -1041,6 +1053,8 @@ int initrigs_kenwood(void *be_handle)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "kenwood: _init called\n");
|
rig_debug(RIG_DEBUG_VERBOSE, "kenwood: _init called\n");
|
||||||
|
|
||||||
|
rig_register(&ts950sdx_caps);
|
||||||
|
rig_register(&ts50s_caps);
|
||||||
rig_register(&ts450s_caps);
|
rig_register(&ts450s_caps);
|
||||||
rig_register(&ts570d_caps);
|
rig_register(&ts570d_caps);
|
||||||
rig_register(&ts570s_caps);
|
rig_register(&ts570s_caps);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Hamlib Kenwood backend - main header
|
* Hamlib Kenwood backend - main header
|
||||||
* Copyright (c) 2000,2001,2002 by Stephane Fillod
|
* Copyright (c) 2000,2001,2002 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: kenwood.h,v 1.15 2001-12-28 20:28:03 fillods Exp $
|
* $Id: kenwood.h,v 1.16 2002-01-03 21:42:53 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
|
||||||
|
@ -53,6 +53,8 @@ const char* kenwood_get_info(RIG *rig);
|
||||||
int kenwood_set_trn(RIG *rig, int trn);
|
int kenwood_set_trn(RIG *rig, int trn);
|
||||||
int kenwood_get_trn(RIG *rig, int *trn);
|
int kenwood_get_trn(RIG *rig, int *trn);
|
||||||
|
|
||||||
|
extern const struct rig_caps ts950sdx_caps;
|
||||||
|
extern const struct rig_caps ts50s_caps;
|
||||||
extern const struct rig_caps ts450s_caps;
|
extern const struct rig_caps ts450s_caps;
|
||||||
extern const struct rig_caps ts570d_caps;
|
extern const struct rig_caps ts570d_caps;
|
||||||
extern const struct rig_caps ts570s_caps;
|
extern const struct rig_caps ts570s_caps;
|
||||||
|
|
Ładowanie…
Reference in New Issue