Logo Search packages:      
Sourcecode: hamlib version File versions

rig_model_t HAMLIB_API rig_probe ( hamlib_port_t port  ) 

try to guess a rig

Parameters:
port A pointer describing a port linking the host to the rig
Try to guess what is the model of the first rig attached to the port. It can be very buggy, and mess up the radio at the other end. (but fun if it works!)

Warning:
this is really Experimental, It has been tested only with IC-706MkIIG. any feedback welcome! --SF
Returns:
the rig model id according to the rig_model_t type if found, otherwise RIG_MODEL_NONE if unable to determine rig model.

Definition at line 2514 of file rig.c.

{
      if (!port)
            return RIG_MODEL_NONE;

      return rig_probe_first(port);
}


Generated by  Doxygen 1.6.0   Back to index