get the current transceive mode
|rig ||The rig handle |
|trn ||The location where to store the current transceive mode|
Retrieves the current status of the transceive mode, i.e. if radio sends new status automatically when some changes happened on the radio.
- 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 641 of file event.c.
References caps, rig_caps::get_trn, RIG_EINVAL, RIG_OK, state, and rig_state::transceive.
Referenced by rig_open().