00001 /* 00002 * Hamlib Interface - list of known rotators 00003 * Copyright (c) 2000-2010 by Stephane Fillod 00004 * Copyright (c) 2000-2002 by Frank Singleton 00005 * 00006 * 00007 * This library is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU Library General Public License as 00009 * published by the Free Software Foundation; either version 2 of 00010 * the License, or (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Library General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 * 00021 */ 00022 00023 #ifndef _ROTLIST_H 00024 #define _ROTLIST_H 1 00025 00026 #define ROT_MAKE_MODEL(a,b) ((a)*100+(b)) 00027 #define ROT_BACKEND_NUM(a) ((a)/100) 00028 00049 #define ROT_MODEL_NONE 0 00050 00059 #define ROT_DUMMY 0 00060 #define ROT_BACKEND_DUMMY "dummy" 00061 #define ROT_MODEL_DUMMY ROT_MAKE_MODEL(ROT_DUMMY, 1) 00062 #define ROT_MODEL_NETROTCTL ROT_MAKE_MODEL(ROT_DUMMY, 2) 00063 00064 /* 00065 * RPC Network pseudo-backend 00066 */ 00074 #define ROT_RPC 1 00075 #define ROT_BACKEND_RPC "rpcrot" 00076 #define ROT_MODEL_RPC ROT_MAKE_MODEL(ROT_RPC, 1) 00077 00078 /* 00079 * Easycomm 00080 */ 00093 #define ROT_EASYCOMM 2 00094 #define ROT_BACKEND_EASYCOMM "easycomm" 00095 #define ROT_MODEL_EASYCOMM1 ROT_MAKE_MODEL(ROT_EASYCOMM, 1) 00096 #define ROT_MODEL_EASYCOMM2 ROT_MAKE_MODEL(ROT_EASYCOMM, 2) 00097 00104 #define ROT_FODTRACK 3 00105 #define ROT_BACKEND_FODTRACK "fodtrack" 00106 #define ROT_MODEL_FODTRACK ROT_MAKE_MODEL(ROT_FODTRACK, 1) 00107 00126 #define ROT_ROTOREZ 4 00127 #define ROT_BACKEND_ROTOREZ "rotorez" 00128 #define ROT_MODEL_ROTOREZ ROT_MAKE_MODEL(ROT_ROTOREZ, 1) 00129 #define ROT_MODEL_ROTORCARD ROT_MAKE_MODEL(ROT_ROTOREZ, 2) 00130 #define ROT_MODEL_DCU ROT_MAKE_MODEL(ROT_ROTOREZ, 3) 00131 00138 #define ROT_SARTEK 5 00139 #define ROT_BACKEND_SARTEK "sartek" 00140 #define ROT_MODEL_SARTEK1 ROT_MAKE_MODEL(ROT_SARTEK, 1) 00141 00148 #define ROT_GS232A 6 00149 #define ROT_BACKEND_GS232A "gs232a" 00150 #define ROT_MODEL_GS232A ROT_MAKE_MODEL(ROT_GS232A, 1) 00151 #define ROT_MODEL_GS232 ROT_MAKE_MODEL(ROT_GS232A, 2) /* Not A or B */ 00152 #define ROT_MODEL_GS232B ROT_MAKE_MODEL(ROT_GS232A, 3) 00153 00159 #define ROT_KIT 7 00160 #define ROT_BACKEND_KIT "kit" 00161 #define ROT_MODEL_PCROTOR ROT_MAKE_MODEL(ROT_KIT, 1) 00162 00166 #define ROT_HEATHKIT 8 00167 #define ROT_BACKEND_HEATHKIT "heathkit" 00168 #define ROT_MODEL_HD1780 ROT_MAKE_MODEL(ROT_HEATHKIT, 1) 00169 00176 #define ROT_SPID 9 00177 #define ROT_BACKEND_SPID "spid" 00178 #define ROT_MODEL_SPID ROT_MAKE_MODEL(ROT_SPID, 1) 00179 00186 #define ROT_M2 10 00187 #define ROT_BACKEND_M2 "m2" 00188 #define ROT_MODEL_RC2800 ROT_MAKE_MODEL(ROT_M2, 1) 00189 00196 #define ROT_ARS 11 00197 #define ROT_BACKEND_ARS "ars" 00198 #define ROT_MODEL_RCI_AZEL ROT_MAKE_MODEL(ROT_ARS, 1) 00199 #define ROT_MODEL_RCI_AZ ROT_MAKE_MODEL(ROT_ARS, 2) 00200 00204 typedef int rot_model_t; 00205 00213 #define ROT_BACKEND_LIST { \ 00214 { ROT_DUMMY, ROT_BACKEND_DUMMY }, \ 00215 { ROT_RPC, ROT_BACKEND_RPC }, \ 00216 { ROT_EASYCOMM, ROT_BACKEND_EASYCOMM }, \ 00217 { ROT_FODTRACK, ROT_BACKEND_FODTRACK }, \ 00218 { ROT_ROTOREZ, ROT_BACKEND_ROTOREZ }, \ 00219 { ROT_SARTEK, ROT_BACKEND_SARTEK }, \ 00220 { ROT_GS232A, ROT_BACKEND_GS232A }, \ 00221 { ROT_KIT, ROT_BACKEND_KIT }, \ 00222 { ROT_HEATHKIT, ROT_BACKEND_HEATHKIT }, \ 00223 { ROT_SPID, ROT_BACKEND_SPID }, \ 00224 { ROT_M2, ROT_BACKEND_M2 }, \ 00225 { ROT_ARS, ROT_BACKEND_ARS }, \ 00226 { 0, NULL }, /* end */ \ 00227 } 00228 00229 /* 00230 * struct rot_backend_list { 00231 * rot_model_t model; 00232 * const char *backend; 00233 * } rot_backend_list[] = ROT_LIST; 00234 * 00235 */ 00236 00237 #endif /* _ROTLIST_H */ 00238
Hamlib documentation for version 1.2.11 -- Sun Jun 20 09:01:38 2010
Project page: http://hamlib.org