Hamlib rig(radio) model definitions. More...
Go to the source code of this file.
Macros | |
#define | RIG_MODEL_NONE 0 |
A macro that returns the model number for an unknown model. | |
#define | RIG_MODEL_DUMMY RIG_MAKE_MODEL(RIG_DUMMY, 1) |
A macro that returns the model number for the dummy backend. | |
Typedefs | |
typedef uint32_t | 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_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 useful for testing client applications.
It has also been expanded to provide support to "virtual" type of rigs such as the network rig control backend and W1HKJ's Flrig application.
#define RIG_MODEL_NONE 0 |
A macro that returns the model number for an unknown model.
The none backend, as the name suggests, does nothing. It is mainly for internal use.