Skip to main content

SoapySDRDevice_readUART

Function SoapySDRDevice_readUART 

Source
pub unsafe extern "C" fn SoapySDRDevice_readUART(
    device: *const SoapySDRDevice,
    which: *const c_char,
    timeoutUs: c_long,
) -> *mut c_char
Expand description

Read bytes from a UART until timeout or newline.

Its up to the implementation to set the baud rate, carriage return settings, flushing on newline. \param device a pointer to a device instance \param which the name of an available UART \param timeoutUs a timeout in microseconds \return a null terminated array of bytes