Hamlib  1.2.14
rotlist.h
Go to the documentation of this file.
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 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 
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 
00110 #define ROT_FODTRACK 3
00111 #define ROT_BACKEND_FODTRACK "fodtrack"
00112 #define ROT_MODEL_FODTRACK ROT_MAKE_MODEL(ROT_FODTRACK, 1)
00113 
00138 #define ROT_ROTOREZ 4
00139 #define ROT_BACKEND_ROTOREZ "rotorez"
00140 #define ROT_MODEL_ROTOREZ ROT_MAKE_MODEL(ROT_ROTOREZ, 1)
00141 #define ROT_MODEL_ROTORCARD ROT_MAKE_MODEL(ROT_ROTOREZ, 2)
00142 #define ROT_MODEL_DCU ROT_MAKE_MODEL(ROT_ROTOREZ, 3)
00143 #define ROT_MODEL_ERC ROT_MAKE_MODEL(ROT_ROTOREZ, 4)
00144 
00151 #define ROT_SARTEK 5
00152 #define ROT_BACKEND_SARTEK "sartek"
00153 #define ROT_MODEL_SARTEK1 ROT_MAKE_MODEL(ROT_SARTEK, 1)
00154 
00179 #define ROT_GS232A 6
00180 #define ROT_BACKEND_GS232A "gs232a"
00181 #define ROT_MODEL_GS232A ROT_MAKE_MODEL(ROT_GS232A, 1)
00182 #define ROT_MODEL_GS232 ROT_MAKE_MODEL(ROT_GS232A, 2) /* Not A or B */
00183 #define ROT_MODEL_GS232B ROT_MAKE_MODEL(ROT_GS232A, 3)
00184 #define ROT_MODEL_F1TETRACKER ROT_MAKE_MODEL(ROT_GS232A, 4)
00185 
00191 #define ROT_KIT 7
00192 #define ROT_BACKEND_KIT "kit"
00193 #define ROT_MODEL_PCROTOR ROT_MAKE_MODEL(ROT_KIT, 1)
00194 
00198 #define ROT_HEATHKIT 8
00199 #define ROT_BACKEND_HEATHKIT "heathkit"
00200 #define ROT_MODEL_HD1780 ROT_MAKE_MODEL(ROT_HEATHKIT, 1)
00201 
00214 #define ROT_SPID 9
00215 #define ROT_BACKEND_SPID "spid"
00216 #define ROT_MODEL_SPID_ROT2PROG ROT_MAKE_MODEL(ROT_SPID, 1)
00217 #define ROT_MODEL_SPID_ROT1PROG ROT_MAKE_MODEL(ROT_SPID, 2)
00218 
00225 #define ROT_M2 10
00226 #define ROT_BACKEND_M2 "m2"
00227 #define ROT_MODEL_RC2800 ROT_MAKE_MODEL(ROT_M2, 1)
00228 
00241 #define ROT_ARS 11
00242 #define ROT_BACKEND_ARS "ars"
00243 #define ROT_MODEL_RCI_AZEL ROT_MAKE_MODEL(ROT_ARS, 1)
00244 #define ROT_MODEL_RCI_AZ ROT_MAKE_MODEL(ROT_ARS, 2)
00245 
00252 #define ROT_AMSAT 12
00253 #define ROT_BACKEND_AMSAT "amsat"
00254 #define ROT_MODEL_IF100 ROT_MAKE_MODEL(ROT_AMSAT, 1)
00255 
00256 
00263 #define ROT_TS7400 13
00264 #define ROT_BACKEND_TS7400 "ts7400"
00265 #define ROT_MODEL_TS7400 ROT_MAKE_MODEL(ROT_TS7400, 1)
00266 
00267 
00271 typedef int rot_model_t;
00272 
00280 #define ROT_BACKEND_LIST {              \
00281         { ROT_DUMMY, ROT_BACKEND_DUMMY }, \
00282         { ROT_RPC, ROT_BACKEND_RPC }, \
00283         { ROT_EASYCOMM, ROT_BACKEND_EASYCOMM }, \
00284         { ROT_FODTRACK, ROT_BACKEND_FODTRACK }, \
00285         { ROT_ROTOREZ, ROT_BACKEND_ROTOREZ }, \
00286         { ROT_SARTEK, ROT_BACKEND_SARTEK }, \
00287         { ROT_GS232A, ROT_BACKEND_GS232A }, \
00288         { ROT_KIT, ROT_BACKEND_KIT }, \
00289         { ROT_HEATHKIT, ROT_BACKEND_HEATHKIT }, \
00290         { ROT_SPID, ROT_BACKEND_SPID }, \
00291         { ROT_M2, ROT_BACKEND_M2 }, \
00292         { ROT_ARS, ROT_BACKEND_ARS }, \
00293         { ROT_AMSAT, ROT_BACKEND_AMSAT }, \
00294         { ROT_TS7400, ROT_BACKEND_TS7400 }, \
00295         { 0, NULL }, /* end */  \
00296 }
00297 
00298 /*
00299  * struct rot_backend_list {
00300  *              rot_model_t model;
00301  *              const char *backend;
00302  * } rot_backend_list[] = ROT_LIST;
00303  *
00304  */
00305 
00306 #endif /* _ROTLIST_H */
00307 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.7.5

Hamlib documentation for version 1.2.14 -- Fri Dec 23 2011 23:24:31
Project page: http://www.hamlib.org