Logo Search packages:      
Sourcecode: hamlib version File versions

rig_model_t HAMLIB_API rig_probe ( hamlib_port_t port  ) 

try to guess a rig

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!)

this is really Experimental, It has been tested only with IC-706MkIIG. any feedback welcome! --SF
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 2408 of file rig.c.

      if (!port)
            return RIG_MODEL_NONE;

      return rig_probe_first(port);

Generated by  Doxygen 1.6.0   Back to index