Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

int HAMLIB_API rig_set_ext_parm ( RIG rig,
token_t  token,
value_t  val 

set a radio parm extra parameter

rig The rig handle
token The parameter
val The value to set the parameter to
Sets an parm extra parameter.

RIG_OK if the operation has been sucessful, otherwise a negative value if an error occured (in which case, cause is set appropriately).
See also:

Definition at line 581 of file settings.c.

References caps, RIG_EINVAL, RIG_ENAVAIL, and rig_caps::set_ext_parm.

      if (CHECK_RIG_ARG(rig))
            return -RIG_EINVAL;

      if (rig->caps->set_ext_parm == NULL)
            return -RIG_ENAVAIL;

      return rig->caps->set_ext_parm(rig, token, val);

Generated by  Doxygen 1.6.0   Back to index