Added functions and ctcss_list as needed

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2529 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.9
Terry Embry, KJ4EED 2008-12-26 11:36:21 +00:00
rodzic 47eb68d232
commit 0d06e98e7a
3 zmienionych plików z 28 dodań i 4 usunięć

Wyświetl plik

@ -3,12 +3,13 @@
* *
* ft2000.c - (C) Nate Bargmann 2007 (n0nb at arrl.net) * ft2000.c - (C) Nate Bargmann 2007 (n0nb at arrl.net)
* (C) Stephane Fillod 2008 * (C) Stephane Fillod 2008
* (C) Terry Embry 2008
* *
* This shared library provides an API for communicating * This shared library provides an API for communicating
* via serial interface to an FT-2000 using the "CAT" interface * via serial interface to an FT-2000 using the "CAT" interface
* *
* *
* $Id: ft2000.c,v 1.2 2008-12-16 22:33:02 fillods Exp $ * $Id: ft2000.c,v 1.3 2008-12-26 11:36:21 mrtembry Exp $
* *
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -186,5 +187,11 @@ const struct rig_caps ft2000_caps = {
.get_info = newcat_get_info, .get_info = newcat_get_info,
.power2mW = newcat_power2mW, .power2mW = newcat_power2mW,
.mW2power = newcat_mW2power, .mW2power = newcat_mW2power,
.set_rptr_shift = newcat_set_rptr_shift,
.get_rptr_shift = newcat_get_rptr_shift,
.set_ctcss_tone = newcat_set_ctcss_tone,
.get_ctcss_tone = newcat_get_ctcss_tone,
.set_ctcss_sql = newcat_set_ctcss_sql,
.get_ctcss_sql = newcat_get_ctcss_sql,
}; };

Wyświetl plik

@ -3,12 +3,13 @@
* *
* ft450.c - (C) Nate Bargmann 2007 (n0nb at arrl.net) * ft450.c - (C) Nate Bargmann 2007 (n0nb at arrl.net)
* (C) Stephane Fillod 2008 * (C) Stephane Fillod 2008
* (C) Terry Embry 2008
* *
* This shared library provides an API for communicating * This shared library provides an API for communicating
* via serial interface to an FT-450 using the "CAT" interface * via serial interface to an FT-450 using the "CAT" interface
* *
* *
* $Id: ft450.c,v 1.7 2008-12-25 13:27:07 mrtembry Exp $ * $Id: ft450.c,v 1.8 2008-12-26 11:36:21 mrtembry Exp $
* *
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -78,7 +79,7 @@ const struct rig_caps ft450_caps = {
[LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } }, [LVL_RAWSTR] = { .min = { .i = 0 }, .max = { .i = 255 } },
[LVL_CWPITCH] = { .min = { .i = 400 }, .max = { .i = 800 }, .step = { .i = 100 } }, [LVL_CWPITCH] = { .min = { .i = 400 }, .max = { .i = 800 }, .step = { .i = 100 } },
}, },
.ctcss_list = NULL, /* TODO */ .ctcss_list = common_ctcss_list,
.dcs_list = NULL, .dcs_list = NULL,
.preamp = { 10, RIG_DBLST_END, }, /* TBC */ .preamp = { 10, RIG_DBLST_END, }, /* TBC */
.attenuator = { 18, RIG_DBLST_END, }, /* TBC */ .attenuator = { 18, RIG_DBLST_END, }, /* TBC */
@ -184,5 +185,14 @@ const struct rig_caps ft450_caps = {
.set_mem = newcat_set_mem, .set_mem = newcat_set_mem,
.vfo_op = newcat_vfo_op, .vfo_op = newcat_vfo_op,
.get_info = newcat_get_info, .get_info = newcat_get_info,
.power2mW = newcat_power2mW,
.mW2power = newcat_mW2power,
.set_rptr_shift = newcat_set_rptr_shift,
.get_rptr_shift = newcat_get_rptr_shift,
.set_ctcss_tone = newcat_set_ctcss_tone,
.get_ctcss_tone = newcat_get_ctcss_tone,
.set_ctcss_sql = newcat_set_ctcss_sql,
.get_ctcss_sql = newcat_get_ctcss_sql,
}; };

Wyświetl plik

@ -3,12 +3,13 @@
* *
* ft9000.c - (C) Nate Bargmann 2007 (n0nb at arrl.net) * ft9000.c - (C) Nate Bargmann 2007 (n0nb at arrl.net)
* (C) Stephane Fillod 2008 * (C) Stephane Fillod 2008
* (C) Terry Embry 2008
* *
* This shared library provides an API for communicating * This shared library provides an API for communicating
* via serial interface to an FT-9000 using the "CAT" interface * via serial interface to an FT-9000 using the "CAT" interface
* *
* *
* $Id: ft9000.c,v 1.2 2008-12-16 22:33:02 fillods Exp $ * $Id: ft9000.c,v 1.3 2008-12-26 11:36:21 mrtembry Exp $
* *
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
@ -187,5 +188,11 @@ const struct rig_caps ft9000_caps = {
.get_info = newcat_get_info, .get_info = newcat_get_info,
.power2mW = newcat_power2mW, .power2mW = newcat_power2mW,
.mW2power = newcat_mW2power, .mW2power = newcat_mW2power,
.set_rptr_shift = newcat_set_rptr_shift,
.get_rptr_shift = newcat_get_rptr_shift,
.set_ctcss_tone = newcat_set_ctcss_tone,
.get_ctcss_tone = newcat_get_ctcss_tone,
.set_ctcss_sql = newcat_set_ctcss_sql,
.get_ctcss_sql = newcat_get_ctcss_sql,
}; };