Function soapysdr_sys::SoapySDRDevice_readChannelSensor
source · pub unsafe extern "C" fn SoapySDRDevice_readChannelSensor(
device: *const SoapySDRDevice,
direction: c_int,
channel: usize,
key: *const c_char
) -> *mut c_char
Expand description
Readback a channel sensor given the name. The value returned is a string which can represent a boolean (“true”/“false”), an integer, or float. \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 key the ID name of an available sensor \return the current value of the sensor