Hamlib
1.2.15
|
00001 /* 00002 * Hamlib Interface - list of known rotators 00003 * Copyright (c) 2000-2011 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 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * This library 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 GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 00065 #define ROT_DUMMY 0 00066 #define ROT_BACKEND_DUMMY "dummy" 00067 #define ROT_MODEL_DUMMY ROT_MAKE_MODEL(ROT_DUMMY, 1) 00068 #define ROT_MODEL_NETROTCTL ROT_MAKE_MODEL(ROT_DUMMY, 2) 00069 00070 /* 00071 * RPC Network pseudo-backend 00072 */ 00080 #define ROT_RPC 1 00081 #define ROT_BACKEND_RPC "rpcrot" 00082 #define ROT_MODEL_RPC ROT_MAKE_MODEL(ROT_RPC, 1) 00083 00084 /* 00085 * Easycomm 00086 */ 00099 #define ROT_EASYCOMM 2 00100 #define ROT_BACKEND_EASYCOMM "easycomm" 00101 #define ROT_MODEL_EASYCOMM1 ROT_MAKE_MODEL(ROT_EASYCOMM, 1) 00102 #define ROT_MODEL_EASYCOMM2 ROT_MAKE_MODEL(ROT_EASYCOMM, 2) 00103 #define ROT_MODEL_TRAKBOX ROT_MAKE_MODEL(ROT_EASYCOMM, 3) 00104 00111 #define ROT_FODTRACK 3 00112 #define ROT_BACKEND_FODTRACK "fodtrack" 00113 #define ROT_MODEL_FODTRACK ROT_MAKE_MODEL(ROT_FODTRACK, 1) 00114 00139 #define ROT_ROTOREZ 4 00140 #define ROT_BACKEND_ROTOREZ "rotorez" 00141 #define ROT_MODEL_ROTOREZ ROT_MAKE_MODEL(ROT_ROTOREZ, 1) 00142 #define ROT_MODEL_ROTORCARD ROT_MAKE_MODEL(ROT_ROTOREZ, 2) 00143 #define ROT_MODEL_DCU ROT_MAKE_MODEL(ROT_ROTOREZ, 3) 00144 #define ROT_MODEL_ERC ROT_MAKE_MODEL(ROT_ROTOREZ, 4) 00145 00152 #define ROT_SARTEK 5 00153 #define ROT_BACKEND_SARTEK "sartek" 00154 #define ROT_MODEL_SARTEK1 ROT_MAKE_MODEL(ROT_SARTEK, 1) 00155 00180 #define ROT_GS232A 6 00181 #define ROT_BACKEND_GS232A "gs232a" 00182 #define ROT_MODEL_GS232A ROT_MAKE_MODEL(ROT_GS232A, 1) 00183 #define ROT_MODEL_GS232 ROT_MAKE_MODEL(ROT_GS232A, 2) /* Not A or B */ 00184 #define ROT_MODEL_GS232B ROT_MAKE_MODEL(ROT_GS232A, 3) 00185 #define ROT_MODEL_F1TETRACKER ROT_MAKE_MODEL(ROT_GS232A, 4) 00186 00192 #define ROT_KIT 7 00193 #define ROT_BACKEND_KIT "kit" 00194 #define ROT_MODEL_PCROTOR ROT_MAKE_MODEL(ROT_KIT, 1) 00195 00199 #define ROT_HEATHKIT 8 00200 #define ROT_BACKEND_HEATHKIT "heathkit" 00201 #define ROT_MODEL_HD1780 ROT_MAKE_MODEL(ROT_HEATHKIT, 1) 00202 00215 #define ROT_SPID 9 00216 #define ROT_BACKEND_SPID "spid" 00217 #define ROT_MODEL_SPID_ROT2PROG ROT_MAKE_MODEL(ROT_SPID, 1) 00218 #define ROT_MODEL_SPID_ROT1PROG ROT_MAKE_MODEL(ROT_SPID, 2) 00219 00226 #define ROT_M2 10 00227 #define ROT_BACKEND_M2 "m2" 00228 #define ROT_MODEL_RC2800 ROT_MAKE_MODEL(ROT_M2, 1) 00229 00242 #define ROT_ARS 11 00243 #define ROT_BACKEND_ARS "ars" 00244 #define ROT_MODEL_RCI_AZEL ROT_MAKE_MODEL(ROT_ARS, 1) 00245 #define ROT_MODEL_RCI_AZ ROT_MAKE_MODEL(ROT_ARS, 2) 00246 00253 #define ROT_AMSAT 12 00254 #define ROT_BACKEND_AMSAT "amsat" 00255 #define ROT_MODEL_IF100 ROT_MAKE_MODEL(ROT_AMSAT, 1) 00256 00257 00264 #define ROT_TS7400 13 00265 #define ROT_BACKEND_TS7400 "ts7400" 00266 #define ROT_MODEL_TS7400 ROT_MAKE_MODEL(ROT_TS7400, 1) 00267 00274 #define ROT_CELESTRON 14 00275 #define ROT_BACKEND_CELESTRON "celestron" 00276 #define ROT_MODEL_NEXSTAR ROT_MAKE_MODEL(ROT_CELESTRON, 1) 00277 00278 00282 typedef int rot_model_t; 00283 00291 #define ROT_BACKEND_LIST { \ 00292 { ROT_DUMMY, ROT_BACKEND_DUMMY }, \ 00293 { ROT_RPC, ROT_BACKEND_RPC }, \ 00294 { ROT_EASYCOMM, ROT_BACKEND_EASYCOMM }, \ 00295 { ROT_FODTRACK, ROT_BACKEND_FODTRACK }, \ 00296 { ROT_ROTOREZ, ROT_BACKEND_ROTOREZ }, \ 00297 { ROT_SARTEK, ROT_BACKEND_SARTEK }, \ 00298 { ROT_GS232A, ROT_BACKEND_GS232A }, \ 00299 { ROT_KIT, ROT_BACKEND_KIT }, \ 00300 { ROT_HEATHKIT, ROT_BACKEND_HEATHKIT }, \ 00301 { ROT_SPID, ROT_BACKEND_SPID }, \ 00302 { ROT_M2, ROT_BACKEND_M2 }, \ 00303 { ROT_ARS, ROT_BACKEND_ARS }, \ 00304 { ROT_AMSAT, ROT_BACKEND_AMSAT }, \ 00305 { ROT_TS7400, ROT_BACKEND_TS7400 }, \ 00306 { ROT_CELESTRON, ROT_BACKEND_CELESTRON }, \ 00307 { 0, NULL }, /* end */ \ 00308 } 00309 00310 /* 00311 * struct rot_backend_list { 00312 * rot_model_t model; 00313 * const char *backend; 00314 * } rot_backend_list[] = ROT_LIST; 00315 * 00316 */ 00317 00318 #endif /* _ROTLIST_H */ 00319
Hamlib documentation for version 1.2.15 -- Thu Feb 2 2012 21:37:28
Project page: http://www.hamlib.org