Functions | |
int | frontamp_set_conf (AMP *amp, hamlib_token_t token, const char *val) |
Set an amplifier state value from alpha input. | |
int | frontamp_get_conf2 (AMP *amp, hamlib_token_t token, char *val, int val_len) |
Query data from an amplifier state in alpha form. | |
int frontamp_get_conf2 | ( | AMP * | amp, |
hamlib_token_t | token, | ||
char * | val, | ||
int | val_len ) |
Query data from an amplifier state in alpha form.
amp | The AMP handle. |
token | TOK_... specify which data to query. |
val | Result. |
Assumes amp != NULL and val != NULL.
RIG_OK | TOK_... value queried successfully. |
RIG_EINVAL | TOK_.. value not queried. |
int frontamp_set_conf | ( | AMP * | amp, |
hamlib_token_t | token, | ||
const char * | val ) |
Set an amplifier state value from alpha input.
amp | The AMP handle. |
token | TOK_... specify which value to set. |
val | Input. |
Assumes amp != NULL and val != NULL.
RIG_OK | TOK_... value set successfully. |
RIG_EINVAL | TOK_.. value not set. |