#include <rotator.h>
Data Fields | |
rot_model_t | rot_model |
const char * | model_name |
const char * | mfg_name |
const char * | version |
const char * | copyright |
enum rig_status_e | status |
int | rot_type |
enum rig_port_e | port_type |
int | serial_rate_min |
int | serial_rate_max |
int | serial_data_bits |
int | serial_stop_bits |
enum serial_parity_e | serial_parity |
enum serial_handshake_e | serial_handshake |
int | write_delay |
int | post_write_delay |
int | timeout |
int | retry |
azimuth_t | min_az |
azimuth_t | max_az |
elevation_t | min_el |
elevation_t | max_el |
struct confparams * | cfgparams |
const char * | priv |
Rotator Caps
The main idea of this struct is that it will be defined by the backend rotator driver, and will remain readonly for the application. Fields that need to be modifiable by the application are copied into the struct rot_state, which is a kind of private of the ROT instance. This way, you can have several rigs running within the same application, sharing the struct rot_caps of the backend, while keeping their own customized data. NB: don't move fields around, as backend depends on it when initializing their caps.
Rotator model.
const char* rot_caps::model_name |
Model name.
const char* rot_caps::mfg_name |
Manufacturer.
const char* rot_caps::version |
Driver version.
const char* rot_caps::copyright |
Copyright info.
Driver status.
Rotator type.
Type of communication port.
Minimal serial speed.
Maximal serial speed.
Number of data bits.
Number of stop bits.
Parity.
Handshake.
Write delay.
Post-write delay.
Timeout.
int rot_caps::retry |
Number of retry if command fails.
Lower limit for azimuth (relative to North).
Upper limit for azimuth (relative to North).
Lower limit for elevation.
Upper limit for elevation.
struct confparams* rot_caps::cfgparams [read] |
Configuration parametres.
const char* rot_caps::priv |
Private data.
Hamlib documentation for version 1.2.8 -- Mon Dec 15 18:03:30 2008
Project page: http://hamlib.org