Function soapysdr_sys::SoapySDRDevice_setAntenna
source · pub unsafe extern "C" fn SoapySDRDevice_setAntenna(
device: *mut SoapySDRDevice,
direction: c_int,
channel: usize,
name: *const c_char
) -> c_int
Expand description
Set the selected antenna on a chain. \param device a pointer to a device instance \param direction the channel direction RX or TX \param channel an available channel on the device \param name the name of an available antenna \return an error code or 0 for success