Skip to main content

SoapySDRDevice_readSensor

Function SoapySDRDevice_readSensor 

Source
pub unsafe extern "C" fn SoapySDRDevice_readSensor(
    device: *const SoapySDRDevice,
    key: *const c_char,
) -> *mut c_char
Expand description

Readback a global 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 key the ID name of an available sensor \return the current value of the sensor