[][src]Function realsense_sys::rs2_device_hub_wait_for_device

pub unsafe extern "C" fn rs2_device_hub_wait_for_device(
    hub: *const rs2_device_hub,
    error: *mut *mut rs2_error
) -> *mut rs2_device

If any device is connected return it, otherwise wait until next RealSense device connects. Calling this method multiple times will cycle through connected devices \param[in] ctx The context to creat the device \param[in] hub The device hub object \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored. \return device object