MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / rig_probe

Function rig_probe

src/rig.c:7058–7066  ·  view source on GitHub ↗

* \brief try to guess a rig * \param 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 * * \ret

Source from the content-addressed store, hash-verified

7056 * otherwise RIG_MODEL_NONE if unable to determine rig model.
7057 */
7058rig_model_t HAMLIB_API rig_probe(hamlib_port_t *port)
7059{
7060 if (!port)
7061 {
7062 return (RIG_MODEL_NONE);
7063 }
7064
7065 return rig_probe_first(port);
7066}
7067
7068
7069/**

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls 1

rig_probe_firstFunction · 0.85

Tested by 1

mainFunction · 0.68