Hamlib 4.7~git
Loading...
Searching...
No Matches
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)
 The rotator model number is held in a signed integer.
#define ROT_BACKEND_NUM(a)
#define ROT_MODEL_NONE   0
 A macro that returns the model number for an unknown model.
#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 DUMMY.
#define ROT_MODEL_NETROTCTL   ROT_MAKE_MODEL(ROT_DUMMY, 2)
 A macro that returns the model number for NETROTCTL.
#define ROT_MODEL_PSTROTATOR   ROT_MAKE_MODEL(ROT_DUMMY, 3)
 A macro that returns the model number for PSTROTATOR.
#define ROT_MODEL_SATROTCTL   ROT_MAKE_MODEL(ROT_DUMMY, 4)
 A macro that returns the model number for SATROTCTL.
#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 EASYCOMM1.
#define ROT_MODEL_EASYCOMM2   ROT_MAKE_MODEL(ROT_EASYCOMM, 2)
 A macro that returns the model number of the EASYCOMM 2 backend.
#define ROT_MODEL_EASYCOMM3   ROT_MAKE_MODEL(ROT_EASYCOMM, 4)
 A macro that returns the model number of the EASYCOMM 3 backend.
#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 FODTRACK.
#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 ROTOREZ.
#define ROT_MODEL_ROTORCARD   ROT_MAKE_MODEL(ROT_ROTOREZ, 2)
 A macro that returns the model number of ROTORCARD.
#define ROT_MODEL_DCU   ROT_MAKE_MODEL(ROT_ROTOREZ, 3)
 A macro that returns the model number of DCU.
#define ROT_MODEL_ERC   ROT_MAKE_MODEL(ROT_ROTOREZ, 4)
 A macro that returns the model number of ERC.
#define ROT_MODEL_RT21   ROT_MAKE_MODEL(ROT_ROTOREZ, 5)
 A macro that returns the model number of RT21.
#define ROT_MODEL_YRC1   ROT_MAKE_MODEL(ROT_ROTOREZ, 6)
 A macro that returns the model number of YRC-1.
#define ROT_MODEL_RT21   ROT_MAKE_MODEL(ROT_ROTOREZ, 5)
 A macro that returns the model number of RT21.
#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 SARTEK1.
#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 GS232A.
#define ROT_MODEL_GS232_GENERIC   ROT_MAKE_MODEL(ROT_GS232A, 2) /* GENERIC */
 A macro that returns the model number of GS232_GENERIC.
#define ROT_MODEL_GS232B   ROT_MAKE_MODEL(ROT_GS232A, 3)
 A macro that returns the model number of GS232B.
#define ROT_MODEL_F1TETRACKER   ROT_MAKE_MODEL(ROT_GS232A, 4)
 A macro that returns the model number of F1TETRACKER.
#define ROT_MODEL_GS23   ROT_MAKE_MODEL(ROT_GS232A, 5)
 A macro that returns the model number of GS23.
#define ROT_MODEL_GS232   ROT_MAKE_MODEL(ROT_GS232A, 6) /* Not A or B */
 A macro that returns the model number of GS232.
#define ROT_MODEL_LVB   ROT_MAKE_MODEL(ROT_GS232A, 7)
 A macro that returns the model number of LVB.
#define ROT_MODEL_ST2   ROT_MAKE_MODEL(ROT_GS232A, 8)
 A macro that returns the model number of ST2.
#define ROT_MODEL_GS232A_AZ   ROT_MAKE_MODEL(ROT_GS232A, 9)
 A macro that returns the model number of GS232A_AZ Azimuth.
#define ROT_MODEL_GS232A_EL   ROT_MAKE_MODEL(ROT_GS232A, 10)
 A macro that returns the model number of GS232A_EL Elevation.
#define ROT_MODEL_GS232B_AZ   ROT_MAKE_MODEL(ROT_GS232A, 11)
 A macro that returns the model number of GS232B_AZ Azimuth.
#define ROT_MODEL_GS232B_EL   ROT_MAKE_MODEL(ROT_GS232A, 12)
 A macro that returns the model number of GS232B_EL Elevation.
#define ROT_MODEL_GS23_AZ   ROT_MAKE_MODEL(ROT_GS232A, 13)
 A macro that returns the model number of GS23_AZ azimuth.
#define ROT_MODEL_AF6SA_WRC   ROT_MAKE_MODEL(ROT_GS232A, 14)
 A macro that returns the model number of AF6SA_WRC.
#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 PCROTOR.
#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 HD1780.
#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 ROT2PROG.
#define ROT_MODEL_SPID_ROT1PROG   ROT_MAKE_MODEL(ROT_SPID, 2)
 A macro that returns the model number of ROT1PROG.
#define ROT_MODEL_SPID_MD01_ROT2PROG   ROT_MAKE_MODEL(ROT_SPID, 3)
 A macro that returns the model number of SPID_MD01_ROT2PROG.
#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 RC2800.
#define ROT_MODEL_RC2800_EARLY_AZ   ROT_MAKE_MODEL(ROT_M2, 2)
 A macro that returns the model number of RC2800_EARLY_AZ.
#define ROT_MODEL_RC2800_EARLY_AZEL   ROT_MAKE_MODEL(ROT_M2, 3)
 A macro that returns the model number of RC2800_EARLY_AZEL.
#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 RCI_AZEL.
#define ROT_MODEL_RCI_AZ   ROT_MAKE_MODEL(ROT_ARS, 2)
 A macro that returns the model number of RCI_AZ.
#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 IF100.
#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 TS7400.
#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 NEXSTAR.
#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 ETHER6.
#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 CNCTRK.
#define ROT_PROSISTEL   17
#define ROT_BACKEND_PROSISTEL   "prosistel"
#define ROT_MODEL_PROSISTEL_D_AZ   ROT_MAKE_MODEL(ROT_PROSISTEL, 1)
 A macro that returns the model number of PROSISTEL_D_AZ.
#define ROT_MODEL_PROSISTEL_D_EL   ROT_MAKE_MODEL(ROT_PROSISTEL, 2)
 A macro that returns the model number of PROSISTEL_D_EL.
#define ROT_MODEL_PROSISTEL_COMBI_TRACK_AZEL   ROT_MAKE_MODEL(ROT_PROSISTEL, 3)
 A macro that returns the model number of PROSISTEL_COMBI_TRACK_AZEL.
#define ROT_MODEL_PROSISTEL_D_EL_CBOXAZ   ROT_MAKE_MODEL(ROT_PROSISTEL, 4)
 A macro that returns the model number of PROSISTEL_D_EL_CBOXAZ.
#define ROT_MEADE   18
#define ROT_BACKEND_MEADE   "meade"
#define ROT_MODEL_MEADE   ROT_MAKE_MODEL(ROT_MEADE, 1)
 A macro that returns the model number of MEADE.
#define ROT_IOPTRON   19
#define ROT_BACKEND_IOPTRON   "ioptron"
#define ROT_MODEL_IOPTRON   ROT_MAKE_MODEL(ROT_IOPTRON, 1)
 A macro that returns the model number of IOPTRON.
#define ROT_INDI   20
#define ROT_BACKEND_INDI   "indi"
#define ROT_MODEL_INDI   ROT_MAKE_MODEL(ROT_INDI, 1)
 A macro that returns the model number of INDI.
#define ROT_SATEL   21
#define ROT_BACKEND_SATEL   "satel"
#define ROT_MODEL_SATEL   ROT_MAKE_MODEL(ROT_SATEL, 1)
 A macro that returns the model number of SATEL.
#define ROT_RADANT   22
#define ROT_BACKEND_RADANT   "radant"
#define ROT_MODEL_RADANT   ROT_MAKE_MODEL(ROT_RADANT, 1)
 A macro that returns the model number of RADANT.
#define ROT_ANDROIDSENSOR   23
#define ROT_BACKEND_ANDROIDSENSOR   "androidsensor"
#define ROT_MODEL_ANDROIDSENSOR   ROT_MAKE_MODEL(ROT_ANDROIDSENSOR, 1)
 A macro that returns the model number of ANDROIDSENSOR.
#define ROT_GRBLTRK   24
#define ROT_BACKEND_GRBLTRK   "grbltrk"
#define ROT_MODEL_GRBLTRK_SER   ROT_MAKE_MODEL(ROT_GRBLTRK, 1)
 A macro that returns the model number of ROT_MODEL_GRBLTRK_SER.
#define ROT_MODEL_GRBLTRK_NET   ROT_MAKE_MODEL(ROT_GRBLTRK, 2)
 A macro that returns the model number of ROT_MODEL_GRBLTRK_NET.
#define ROT_FLIR   25
#define ROT_BACKEND_FLIR   "flir"
#define ROT_MODEL_FLIR   ROT_MAKE_MODEL(ROT_FLIR, 1)
 A macro that returns the model number of FLIR.
#define ROT_APEX   26
#define ROT_BACKEND_APEX   "apex"
#define ROT_MODEL_APEX_SHARED_LOOP   ROT_MAKE_MODEL(ROT_APEX, 1)
 A macro that returns the model number of APEX.
#define ROT_SAEBRTRACK   27
#define ROT_BACKEND_SAEBRTRACK   "SAEBRTrack"
#define ROT_MODEL_SAEBRTRACK   ROT_MAKE_MODEL(ROT_SAEBRTRACK, 1)
 A macro that returns the model number of SAEBRTRACK.
#define ROT_SKYWATCHER   28
#define ROT_BACKEND_SKYWATCHER   "SkyWatcher"
#define ROT_MODEL_SKYWATCHER   ROT_MAKE_MODEL(ROT_SKYWATCHER, 1)
 A macro that returns the model number of SKYWATCHER.

Typedefs

typedef int rot_model_t
 Convenience type definition for a rotator model.

Detailed Description

Hamlib rotator model definitions.

This file contains rotator model definitions for the Hamlib rotator Application Programming Interface (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 (defined in configure.ac). 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 wishes to use which is passed to the rot_init() API call.