Loading...
Searching...
No Matches
rot_settings.c File Reference
Rotator API

Rotator functions/levels/parameters interface. More...

`#include "hamlib/config.h"`
`#include <stdio.h>`
`#include "hamlib/rig.h"`
`#include "hamlib/rotator.h"`
`#include "hamlib/rot_state.h"`
Include dependency graph for rot_settings.c:

## Functions

int | rot_set_level (ROT *rot, setting_t level, value_t val)
| Set a rotator level to a given value.
int | rot_get_level (ROT *rot, setting_t level, value_t *val)
| Query the value of a requested rotator level.
int | rot_set_parm (ROT *rot, setting_t parm, value_t val)
| Set a rotator parameter to a given value.
int | rot_get_parm (ROT *rot, setting_t parm, value_t *val)
| Query the value of a requested rotator parameter.
setting_t | rot_has_get_level (ROT *rot, setting_t level)
| Check which rotator level settings can be queried.
setting_t | rot_has_set_level (ROT *rot, setting_t level)
| Query the rotator levels that may be set.
setting_t | rot_has_get_parm (ROT *rot, setting_t parm)
| Check which rotator parameter settings can be queried.
setting_t | rot_has_set_parm (ROT *rot, setting_t parm)
| Query the rotator parameters that may be set.
setting_t | rot_has_get_func (ROT *rot, setting_t func)
| Check which rotator functions can be queried.
setting_t | rot_has_set_func (ROT *rot, setting_t func)
| Query support of rotator functions.
int | rot_set_func (ROT *rot, setting_t func, int status)
| Activate or deactivate functions of a rotator.
int | rot_get_func (ROT *rot, setting_t func, int *status)
| Query the status of functions of the rotator.
int | rot_set_ext_level (ROT *rot, hamlib_token_t token, value_t val)
| Set a rotator extension level to a given value.
int | rot_get_ext_level (ROT *rot, hamlib_token_t token, value_t *val)
| Query the value of a requested rotator extension level.
int | rot_set_ext_func (ROT *rot, hamlib_token_t token, int status)
| Activate or deactivate extension functions of a rotator.
int | rot_get_ext_func (ROT *rot, hamlib_token_t token, int *status)
| Query the status of extension functions of a rotator.
int | rot_set_ext_parm (ROT *rot, hamlib_token_t token, value_t val)
| Set a rotator extension parameter to a given value.
int | rot_get_ext_parm (ROT *rot, hamlib_token_t token, value_t *val)
| Query the value of a requested rotator extension parameter.

## Detailed Description

Rotator functions/levels/parameters interface.

Author
  Mikael Nousiainen

Date
  2020

This Hamlib interface is a frontend implementing wrapper functions.