Hamlib rig(radio) model definitions. More...
Go to the source code of this file.
Defines | |
#define | RIG_MODEL_DUMMY RIG_MAKE_MODEL(RIG_DUMMY, 1) |
A macro that returns the model number for the dummy backend. | |
#define | RIG_MODEL_RPC RIG_MAKE_MODEL(RIG_RPC, 1) |
A macro that returns the model number of the RPC Network pseudo-backend. | |
#define | RIG_BACKEND_LIST |
Static list of rig models. | |
Typedefs | |
typedef int | rig_model_t |
Convenience type definition for rig model. |
Hamlib rig(radio) model definitions.
This file contains rig model definitions for the Hamlib rig API. Each distinct rig 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 rig branches, one can use the statically defined RIG_BACKEND_LIST macro. To obtain a full list of supported rig (including each model in every branch), the foreach_opened_rig() API function can be used.
The model number, or ID, is used to tell hamlib, which rig the client whishes to use. It is done with the rig_init() API call.
#define RIG_BACKEND_LIST |
{ \
{ RIG_DUMMY, RIG_BACKEND_DUMMY }, \
{ RIG_YAESU, RIG_BACKEND_YAESU }, \
{ RIG_KENWOOD, RIG_BACKEND_KENWOOD }, \
{ RIG_ICOM, RIG_BACKEND_ICOM }, \
{ RIG_PCR, RIG_BACKEND_PCR }, \
{ RIG_AOR, RIG_BACKEND_AOR }, \
{ RIG_JRC, RIG_BACKEND_JRC }, \
{ RIG_UNIDEN, RIG_BACKEND_UNIDEN }, \
{ RIG_DRAKE, RIG_BACKEND_DRAKE }, \
{ RIG_LOWE, RIG_BACKEND_LOWE }, \
{ RIG_RACAL, RIG_BACKEND_RACAL }, \
{ RIG_WJ, RIG_BACKEND_WJ }, \
{ RIG_SKANTI, RIG_BACKEND_SKANTI }, \
{ RIG_WINRADIO, RIG_BACKEND_WINRADIO }, \
{ RIG_TENTEC, RIG_BACKEND_TENTEC }, \
{ RIG_ALINCO, RIG_BACKEND_ALINCO }, \
{ RIG_KACHINA, RIG_BACKEND_KACHINA }, \
{ RIG_RPC, RIG_BACKEND_RPC }, \
{ RIG_TAPR, RIG_BACKEND_TAPR }, \
{ RIG_FLEXRADIO, RIG_BACKEND_FLEXRADIO }, \
{ RIG_RFT, RIG_BACKEND_RFT }, \
{ RIG_KIT, RIG_BACKEND_KIT }, \
{ RIG_TUNER, RIG_BACKEND_TUNER }, \
{ RIG_RS, RIG_BACKEND_RS }, \
{ 0, NULL }, /* end */ \
}
Static list of rig models.
This is a NULL terminated list of available rig backends. Each entry in the list consists of two fields: The branch number, which is an integer, and the branch name, which is a character string.
#define RIG_MODEL_DUMMY RIG_MAKE_MODEL(RIG_DUMMY, 1) |
A macro that returns the model number for the dummy backend.
The dummy backend, as the name suggests, is a backend which performs no hardware operations and always behaves as one would expect. It can be thought of as a hardware simulator and is very usefull for testing client applications.
#define RIG_MODEL_RPC RIG_MAKE_MODEL(RIG_RPC, 1) |
A macro that returns the model number of the RPC Network pseudo-backend.
The RPC backend can be used to connect and send commands to a rig server, rpc.rigd
, running on a remote machine. Using this client/server scheme, several clients can control and monitor the same rig hardware.
Hamlib documentation for version 1.2.12 -- Sat Sep 17 2011 18:23:01
Project page: http://hamlib.org