Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

Defines | 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.

Defines

#define ROT_AMSAT   12
#define ROT_ARS   11
#define ROT_BACKEND_AMSAT   "amsat"
#define ROT_BACKEND_ARS   "ars"
#define ROT_BACKEND_DUMMY   "dummy"
#define ROT_BACKEND_EASYCOMM   "easycomm"
#define ROT_BACKEND_FODTRACK   "fodtrack"
#define ROT_BACKEND_GS232A   "gs232a"
#define ROT_BACKEND_HEATHKIT   "heathkit"
#define ROT_BACKEND_KIT   "kit"
#define ROT_BACKEND_LIST
 Static list of rotator models.
#define ROT_BACKEND_M2   "m2"
#define ROT_BACKEND_NUM(a)   ((a)/100)
#define ROT_BACKEND_ROTOREZ   "rotorez"
#define ROT_BACKEND_RPC   "rpcrot"
#define ROT_BACKEND_SARTEK   "sartek"
#define ROT_BACKEND_SPID   "spid"
#define ROT_BACKEND_TS7400   "ts7400"
#define ROT_DUMMY   0
#define ROT_EASYCOMM   2
#define ROT_FODTRACK   3
#define ROT_GS232A   6
#define ROT_HEATHKIT   8
#define ROT_KIT   7
#define ROT_M2   10
#define ROT_MAKE_MODEL(a, b)   ((a)*100+(b))
#define ROT_MODEL_DCU   ROT_MAKE_MODEL(ROT_ROTOREZ, 3)
 A macro that returns the model number of the DCU backend.
#define ROT_MODEL_DUMMY   ROT_MAKE_MODEL(ROT_DUMMY, 1)
 A macro that returns the model number for the dummy backend.
#define ROT_MODEL_EASYCOMM1   ROT_MAKE_MODEL(ROT_EASYCOMM, 1)
 A macro that returns the model number of the EasyComm 1 backend.
#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_ERC   ROT_MAKE_MODEL(ROT_ROTOREZ, 4)
 A macro that returns the model number of the ERC backend.
#define ROT_MODEL_F1TETRACKER   ROT_MAKE_MODEL(ROT_GS232A, 4)
 A macro that returns the model number of the F1TETRACKER backend.
#define ROT_MODEL_FODTRACK   ROT_MAKE_MODEL(ROT_FODTRACK, 1)
 A macro that returns the model number of the Fodtrack backend.
#define ROT_MODEL_GS232   ROT_MAKE_MODEL(ROT_GS232A, 2)
 A macro that returns the model number of the GS-232 backend.
#define ROT_MODEL_GS232A   ROT_MAKE_MODEL(ROT_GS232A, 1)
 A macro that returns the model number of the GS-232A backend.
#define ROT_MODEL_GS232B   ROT_MAKE_MODEL(ROT_GS232A, 3)
 A macro that returns the model number of the GS-232B backend.
#define ROT_MODEL_HD1780   ROT_MAKE_MODEL(ROT_HEATHKIT, 1)
 A macro that returns the model number of the HD 1780 backend.
#define ROT_MODEL_IF100   ROT_MAKE_MODEL(ROT_AMSAT, 1)
 A macro that returns the model number of the IF-100 backend.
#define ROT_MODEL_NETROTCTL   ROT_MAKE_MODEL(ROT_DUMMY, 2)
 A macro that returns the model number for the Network backend.
#define ROT_MODEL_NONE   0
#define ROT_MODEL_PCROTOR   ROT_MAKE_MODEL(ROT_KIT, 1)
 A macro that returns the model number of the PcRotor/WA6UFQ backend.
#define ROT_MODEL_RC2800   ROT_MAKE_MODEL(ROT_M2, 1)
 A macro that returns the model number of the RC2800 backend.
#define ROT_MODEL_RCI_AZ   ROT_MAKE_MODEL(ROT_ARS, 2)
 A macro that returns the model number of the RCI_AZ backend.
#define ROT_MODEL_RCI_AZEL   ROT_MAKE_MODEL(ROT_ARS, 1)
 A macro that returns the model number of the RCI_AZEL backend.
#define ROT_MODEL_ROTORCARD   ROT_MAKE_MODEL(ROT_ROTOREZ, 2)
 A macro that returns the model number of the Rotor Card backend.
#define ROT_MODEL_ROTOREZ   ROT_MAKE_MODEL(ROT_ROTOREZ, 1)
 A macro that returns the model number of the Rotor-EZ backend.
#define ROT_MODEL_RPC   ROT_MAKE_MODEL(ROT_RPC, 1)
 A macro that returns the model number of the RPC Network pseudo-backend.
#define ROT_MODEL_SARTEK1   ROT_MAKE_MODEL(ROT_SARTEK, 1)
 A macro that returns the model number of the SARtek-1 backend.
#define ROT_MODEL_SPID_ROT1PROG   ROT_MAKE_MODEL(ROT_SPID, 2)
 A macro that returns the model number of the ROT1PROG backend.
#define ROT_MODEL_SPID_ROT2PROG   ROT_MAKE_MODEL(ROT_SPID, 1)
 A macro that returns the model number of the ROT2PROG backend.
#define ROT_MODEL_TS7400   ROT_MAKE_MODEL(ROT_TS7400, 1)
 A macro that returns the model number of the TS7400 backend.
#define ROT_ROTOREZ   4
#define ROT_RPC   1
#define ROT_SARTEK   5
#define ROT_SPID   9
#define ROT_TS7400   13

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.

Definition in file rotlist.h.


Generated by  Doxygen 1.6.0   Back to index