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

rig_model_t HAMLIB_API rig_probe ( hamlib_port_t port )

try to guess a rig

portA 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 2487 of file rig.c.

      if (!port)
            return RIG_MODEL_NONE;

      return rig_probe_first(port);

Generated by  Doxygen 1.6.0   Back to index