Hamlib  3.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Typedefs
rotlist.h File Reference

Hamlib rotator model definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ROT_MAKE_MODEL(a, b)   ((a)*100+(b))
 
#define ROT_BACKEND_NUM(a)   ((a)/100)
 
#define ROT_MODEL_NONE   0
 
#define ROT_DUMMY   0
 
#define ROT_BACKEND_DUMMY   "dummy"
 
#define ROT_MODEL_DUMMY   ROT_MAKE_MODEL(ROT_DUMMY, 1)
 A macro that returns the model number for the dummy backend. More...
 
#define ROT_MODEL_NETROTCTL   ROT_MAKE_MODEL(ROT_DUMMY, 2)
 A macro that returns the model number for the Network backend. More...
 
#define ROT_EASYCOMM   2
 
#define ROT_BACKEND_EASYCOMM   "easycomm"
 
#define ROT_MODEL_EASYCOMM1   ROT_MAKE_MODEL(ROT_EASYCOMM, 1)
 A macro that returns the model number of the EasyComm 1 backend. More...
 
#define ROT_MODEL_EASYCOMM2   ROT_MAKE_MODEL(ROT_EASYCOMM, 2)
 A macro that returns the model number of the EasyComm 2 backend. More...
 
#define ROT_MODEL_TRAKBOX   ROT_MAKE_MODEL(ROT_EASYCOMM, 3)
 
#define ROT_MODEL_EASYCOMM3   ROT_MAKE_MODEL(ROT_EASYCOMM, 4)
 
#define ROT_FODTRACK   3
 
#define ROT_BACKEND_FODTRACK   "fodtrack"
 
#define ROT_MODEL_FODTRACK   ROT_MAKE_MODEL(ROT_FODTRACK, 1)
 A macro that returns the model number of the Fodtrack backend. More...
 
#define ROT_ROTOREZ   4
 
#define ROT_BACKEND_ROTOREZ   "rotorez"
 
#define ROT_MODEL_ROTOREZ   ROT_MAKE_MODEL(ROT_ROTOREZ, 1)
 A macro that returns the model number of the Rotor-EZ backend. More...
 
#define ROT_MODEL_ROTORCARD   ROT_MAKE_MODEL(ROT_ROTOREZ, 2)
 A macro that returns the model number of the Rotor Card backend. More...
 
#define ROT_MODEL_DCU   ROT_MAKE_MODEL(ROT_ROTOREZ, 3)
 A macro that returns the model number of the DCU backend. More...
 
#define ROT_MODEL_ERC   ROT_MAKE_MODEL(ROT_ROTOREZ, 4)
 A macro that returns the model number of the ERC backend. More...
 
#define ROT_MODEL_RT21   ROT_MAKE_MODEL(ROT_ROTOREZ, 5)
 A macro that returns the model number of the RT21 backend. More...
 
#define ROT_SARTEK   5
 
#define ROT_BACKEND_SARTEK   "sartek"
 
#define ROT_MODEL_SARTEK1   ROT_MAKE_MODEL(ROT_SARTEK, 1)
 A macro that returns the model number of the SARtek-1 backend. More...
 
#define ROT_GS232A   6
 
#define ROT_BACKEND_GS232A   "gs232a"
 
#define ROT_MODEL_GS232A   ROT_MAKE_MODEL(ROT_GS232A, 1)
 A macro that returns the model number of the GS-232A backend. More...
 
#define ROT_MODEL_GS232   ROT_MAKE_MODEL(ROT_GS232A, 2) /* Not A or B */
 A macro that returns the model number of the GS-232 backend. More...
 
#define ROT_MODEL_GS232B   ROT_MAKE_MODEL(ROT_GS232A, 3)
 A macro that returns the model number of the GS-232B backend. More...
 
#define ROT_MODEL_F1TETRACKER   ROT_MAKE_MODEL(ROT_GS232A, 4)
 A macro that returns the model number of the F1TETRACKER backend. More...
 
#define ROT_KIT   7
 
#define ROT_BACKEND_KIT   "kit"
 
#define ROT_MODEL_PCROTOR   ROT_MAKE_MODEL(ROT_KIT, 1)
 A macro that returns the model number of the PcRotor/WA6UFQ backend. More...
 
#define ROT_HEATHKIT   8
 
#define ROT_BACKEND_HEATHKIT   "heathkit"
 
#define ROT_MODEL_HD1780   ROT_MAKE_MODEL(ROT_HEATHKIT, 1)
 A macro that returns the model number of the HD 1780 backend.
 
#define ROT_SPID   9
 
#define ROT_BACKEND_SPID   "spid"
 
#define ROT_MODEL_SPID_ROT2PROG   ROT_MAKE_MODEL(ROT_SPID, 1)
 A macro that returns the model number of the ROT2PROG backend. More...
 
#define ROT_MODEL_SPID_ROT1PROG   ROT_MAKE_MODEL(ROT_SPID, 2)
 A macro that returns the model number of the ROT1PROG backend. More...
 
#define ROT_M2   10
 
#define ROT_BACKEND_M2   "m2"
 
#define ROT_MODEL_RC2800   ROT_MAKE_MODEL(ROT_M2, 1)
 A macro that returns the model number of the RC2800 backend. More...
 
#define ROT_ARS   11
 
#define ROT_BACKEND_ARS   "ars"
 
#define ROT_MODEL_RCI_AZEL   ROT_MAKE_MODEL(ROT_ARS, 1)
 A macro that returns the model number of the RCI_AZEL backend. More...
 
#define ROT_MODEL_RCI_AZ   ROT_MAKE_MODEL(ROT_ARS, 2)
 A macro that returns the model number of the RCI_AZ backend. More...
 
#define ROT_AMSAT   12
 
#define ROT_BACKEND_AMSAT   "amsat"
 
#define ROT_MODEL_IF100   ROT_MAKE_MODEL(ROT_AMSAT, 1)
 A macro that returns the model number of the IF-100 backend. More...
 
#define ROT_TS7400   13
 
#define ROT_BACKEND_TS7400   "ts7400"
 
#define ROT_MODEL_TS7400   ROT_MAKE_MODEL(ROT_TS7400, 1)
 A macro that returns the model number of the TS7400 backend. More...
 
#define ROT_CELESTRON   14
 
#define ROT_BACKEND_CELESTRON   "celestron"
 
#define ROT_MODEL_NEXSTAR   ROT_MAKE_MODEL(ROT_CELESTRON, 1)
 A macro that returns the model number of the NEXSTAR backend. More...
 
#define ROT_ETHER6   15
 
#define ROT_BACKEND_ETHER6   "ether6"
 
#define ROT_MODEL_ETHER6   ROT_MAKE_MODEL(ROT_ETHER6, 1)
 A macro that returns the model number of the Ether6 backend. More...
 
#define ROT_CNCTRK   16
 
#define ROT_BACKEND_CNCTRK   "cnctrk"
 
#define ROT_MODEL_CNCTRK   ROT_MAKE_MODEL(ROT_CNCTRK, 1)
 A macro that returns the model number of the CNCTRK backend. More...
 

Typedefs

typedef int rot_model_t
 Convenience type definition for rotator model.
 

Detailed Description

Hamlib rotator model definitions.

This file contains rotator model definitions for the Hamlib rotator API. Each distinct rotator type has a unique model number (ID) and is used by hamlib to identify and distinguish between the different hardware drivers. The exact model numbers can be acquired using the macros in this file. To obtain a list of supported rotator branches, one can use the statically defined ROT_BACKEND_LIST macro. To obtain a full list of supported rotators (including each model in every branch), the foreach_opened_rot() API function can be used.

The model number, or ID, is used to tell hamlib, which rotator the client whishes to use. It is done with the rot_init() API call.


Generated by doxygen 1.8.8

Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org