kopia lustrzana https://github.com/Hamlib/Hamlib
* 2 new fields in caps (vfo_list and priv)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@404 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.1
rodzic
6a09a63bb0
commit
7e94783822
|
@ -7,7 +7,7 @@
|
||||||
* using the serial interface.
|
* using the serial interface.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: ar8200.c,v 1.4 2001-02-14 23:54:20 f4cfe Exp $
|
* $Id: ar8200.c,v 1.5 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -62,6 +62,7 @@ const struct rig_caps ar8200_caps = {
|
||||||
{ RIG_DBLST_END, },
|
{ RIG_DBLST_END, },
|
||||||
{ RIG_DBLST_END, },
|
{ RIG_DBLST_END, },
|
||||||
0,
|
0,
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
1000, 0, 0,
|
1000, 0, 0,
|
||||||
|
|
||||||
|
@ -94,6 +95,7 @@ const struct rig_caps ar8200_caps = {
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
NULL, /* priv */
|
||||||
NULL, NULL, NULL, aor_close, NULL /* probe not supported yet */,
|
NULL, NULL, NULL, aor_close, NULL /* probe not supported yet */,
|
||||||
aor_set_freq, aor_get_freq, aor_set_mode, aor_get_mode, NULL,
|
aor_set_freq, aor_get_freq, aor_set_mode, aor_get_mode, NULL,
|
||||||
set_ts: aor_set_ts,
|
set_ts: aor_set_ts,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* purpose mainly.
|
* purpose mainly.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: dummy.c,v 1.2 2001-02-14 23:57:30 f4cfe Exp $
|
* $Id: dummy.c,v 1.3 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
@ -566,11 +566,13 @@ const struct rig_caps dummy_caps = {
|
||||||
has_set_level: DUMMY_SET_LEVEL,
|
has_set_level: DUMMY_SET_LEVEL,
|
||||||
transceive: RIG_TRN_OFF,
|
transceive: RIG_TRN_OFF,
|
||||||
attenuator: { 10, 20, 30, RIG_DBLST_END, },
|
attenuator: { 10, 20, 30, RIG_DBLST_END, },
|
||||||
|
vfo_list: 0, /* FIXME */
|
||||||
rx_range_list2: { {start:kHz(150),end:MHz(1500),modes:DUMMY_MODES,
|
rx_range_list2: { {start:kHz(150),end:MHz(1500),modes:DUMMY_MODES,
|
||||||
low_power:-1,high_power:-1},
|
low_power:-1,high_power:-1},
|
||||||
RIG_FRNG_END, },
|
RIG_FRNG_END, },
|
||||||
tx_range_list2: { RIG_FRNG_END, },
|
tx_range_list2: { RIG_FRNG_END, },
|
||||||
tuning_steps: { {DUMMY_MODES,1}, RIG_TS_END, },
|
tuning_steps: { {DUMMY_MODES,1}, RIG_TS_END, },
|
||||||
|
priv: NULL, /* priv */
|
||||||
|
|
||||||
rig_init: dummy_init,
|
rig_init: dummy_init,
|
||||||
rig_cleanup: dummy_cleanup,
|
rig_cleanup: dummy_cleanup,
|
||||||
|
|
10
icom/ic706.c
10
icom/ic706.c
|
@ -7,7 +7,7 @@
|
||||||
* using the "CI-V" interface.
|
* using the "CI-V" interface.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: ic706.c,v 1.13 2001-02-14 23:54:21 f4cfe Exp $
|
* $Id: ic706.c,v 1.14 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -70,6 +70,7 @@ const struct rig_caps ic706_caps = {
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
0, /* TBC: RIT controllable? */
|
0, /* TBC: RIT controllable? */
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
101, 0, 0,
|
101, 0, 0,
|
||||||
|
|
||||||
|
@ -125,6 +126,7 @@ const struct rig_caps ic706_caps = {
|
||||||
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
||||||
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -140,6 +142,7 @@ const struct rig_caps ic706mkii_caps = {
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
0, /* TBC: RIT controllable? */
|
0, /* TBC: RIT controllable? */
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
101, 0, 0,
|
101, 0, 0,
|
||||||
|
|
||||||
|
@ -195,6 +198,7 @@ const struct rig_caps ic706mkii_caps = {
|
||||||
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
||||||
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
||||||
NULL,
|
NULL,
|
||||||
|
@ -213,7 +217,8 @@ const struct rig_caps ic706mkiig_caps = {
|
||||||
RIG_FUNC_NONE, IC706_FUNC_ALL|RIG_FUNC_NR|RIG_FUNC_ANF, IC706_LEVEL_ALL, IC706_LEVEL_ALL,
|
RIG_FUNC_NONE, IC706_FUNC_ALL|RIG_FUNC_NR|RIG_FUNC_ANF, IC706_LEVEL_ALL, IC706_LEVEL_ALL,
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
9999,
|
9999, /* RIT */
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
101, 0, 0,
|
101, 0, 0,
|
||||||
|
|
||||||
|
@ -271,6 +276,7 @@ const struct rig_caps ic706mkiig_caps = {
|
||||||
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
{RIG_MODE_WFM, kHz(230)}, /* WideFM, filter FL?? */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
||||||
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* using the "CI-V" interface.
|
* using the "CI-V" interface.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: icr8500.c,v 1.4 2001-02-14 23:54:21 f4cfe Exp $
|
* $Id: icr8500.c,v 1.5 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -62,6 +62,7 @@ const struct rig_caps icr8500_caps = {
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
{ 20, RIG_DBLST_END, },
|
{ 20, RIG_DBLST_END, },
|
||||||
9999,
|
9999,
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
999, 12, 0,
|
999, 12, 0,
|
||||||
|
|
||||||
|
@ -101,6 +102,7 @@ const struct rig_caps icr8500_caps = {
|
||||||
{RIG_MODE_WFM, kHz(230)},
|
{RIG_MODE_WFM, kHz(230)},
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
icom_init, icom_cleanup, NULL, NULL, NULL /* probe not supported yet */,
|
||||||
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
icom_set_freq, icom_get_freq, icom_set_mode, icom_get_mode, icom_set_vfo,
|
||||||
NULL,
|
NULL,
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* using the serial interface.
|
* using the serial interface.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: ts870s.c,v 1.6 2001-02-14 23:54:20 f4cfe Exp $
|
* $Id: ts870s.c,v 1.7 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -65,6 +65,7 @@ const struct rig_caps ts870s_caps = {
|
||||||
{ RIG_DBLST_END, }, /* FIXME! */
|
{ RIG_DBLST_END, }, /* FIXME! */
|
||||||
{ RIG_DBLST_END, },
|
{ RIG_DBLST_END, },
|
||||||
9999,
|
9999,
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_ON,
|
0, RIG_TRN_ON,
|
||||||
1000, 0, 0,
|
1000, 0, 0,
|
||||||
|
|
||||||
|
@ -115,6 +116,7 @@ const struct rig_caps ts870s_caps = {
|
||||||
/* FIXME! */
|
/* FIXME! */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
|
|
||||||
NULL, NULL, NULL, NULL, NULL /* probe not supported yet */,
|
NULL, NULL, NULL, NULL, NULL /* probe not supported yet */,
|
||||||
kenwood_set_freq, kenwood_get_freq, kenwood_set_mode, kenwood_get_mode, NULL,
|
kenwood_set_freq, kenwood_get_freq, kenwood_set_mode, kenwood_get_mode, NULL,
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
* /dev/winradio API.
|
* /dev/winradio API.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: winradio.c,v 1.3 2001-02-14 23:54:21 f4cfe Exp $
|
* $Id: winradio.c,v 1.4 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
@ -189,6 +189,7 @@ const struct rig_caps wr1500_caps = {
|
||||||
status: RIG_STATUS_NEW,
|
status: RIG_STATUS_NEW,
|
||||||
rig_type: RIG_TYPE_PCRECEIVER,
|
rig_type: RIG_TYPE_PCRECEIVER,
|
||||||
port_type: RIG_PORT_DEVICE,
|
port_type: RIG_PORT_DEVICE,
|
||||||
|
vfo_list: 0, /* FIXME! */
|
||||||
targetable_vfo: 0,
|
targetable_vfo: 0,
|
||||||
ptt_type: RIG_PTT_NONE,
|
ptt_type: RIG_PTT_NONE,
|
||||||
dcd_type: RIG_DCD_NONE,
|
dcd_type: RIG_DCD_NONE,
|
||||||
|
@ -203,6 +204,7 @@ const struct rig_caps wr1500_caps = {
|
||||||
RIG_FRNG_END, },
|
RIG_FRNG_END, },
|
||||||
tx_range_list2: { RIG_FRNG_END, },
|
tx_range_list2: { RIG_FRNG_END, },
|
||||||
tuning_steps: { {WR1500_MODES,1}, RIG_TS_END, },
|
tuning_steps: { {WR1500_MODES,1}, RIG_TS_END, },
|
||||||
|
priv: NULL, /* priv */
|
||||||
|
|
||||||
rig_init: wr_rig_init,
|
rig_init: wr_rig_init,
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* box (FIF-232C) or similar
|
* box (FIF-232C) or similar
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: ft747.c,v 1.6 2001-02-14 23:54:21 f4cfe Exp $
|
* $Id: ft747.c,v 1.7 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
|
@ -135,6 +135,7 @@ const struct rig_caps ft747_caps = {
|
||||||
{ RIG_DBLST_END, }, /* FIXME! */
|
{ RIG_DBLST_END, }, /* FIXME! */
|
||||||
{ RIG_DBLST_END, },
|
{ RIG_DBLST_END, },
|
||||||
9999,
|
9999,
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
0, RIG_TRN_OFF,
|
0, RIG_TRN_OFF,
|
||||||
20, 0, 0,
|
20, 0, 0,
|
||||||
|
|
||||||
|
@ -187,6 +188,7 @@ const struct rig_caps ft747_caps = {
|
||||||
/* FIXME! */
|
/* FIXME! */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
|
|
||||||
ft747_init,
|
ft747_init,
|
||||||
ft747_cleanup,
|
ft747_cleanup,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* via serial interface to an FT-847 using the "CAT" interface.
|
* via serial interface to an FT-847 using the "CAT" interface.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: ft847.c,v 1.6 2001-02-14 23:54:21 f4cfe Exp $
|
* $Id: ft847.c,v 1.7 2001-02-27 23:03:45 f4cfe Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -192,6 +192,7 @@ const struct rig_caps ft847_caps = {
|
||||||
{ RIG_DBLST_END, }, /* FIXME! */
|
{ RIG_DBLST_END, }, /* FIXME! */
|
||||||
{ RIG_DBLST_END, },
|
{ RIG_DBLST_END, },
|
||||||
9999,
|
9999,
|
||||||
|
0, /* FIXME: VFO list */
|
||||||
1, RIG_TRN_OFF,
|
1, RIG_TRN_OFF,
|
||||||
78, 0, 0,
|
78, 0, 0,
|
||||||
|
|
||||||
|
@ -256,6 +257,7 @@ const struct rig_caps ft847_caps = {
|
||||||
/* FIXME! */
|
/* FIXME! */
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
|
NULL, /* priv */
|
||||||
ft847_init,
|
ft847_init,
|
||||||
ft847_cleanup,
|
ft847_cleanup,
|
||||||
ft847_open,
|
ft847_open,
|
||||||
|
|
Ładowanie…
Reference in New Issue