[][src]Function realsense_sys::rs2_update_firmware_cpp

pub unsafe extern "C" fn rs2_update_firmware_cpp(
    device: *const rs2_device,
    fw_image: *const c_void,
    fw_image_size: c_int,
    callback: *mut rs2_update_progress_callback,
    error: *mut *mut rs2_error
)

Update device to the provided firmware, the device must be extendable to RS2_EXTENSION_UPDATABLE. This call is executed on the caller's thread and it supports progress notifications via the optional callback. \param[in] device Device to update \param[in] fw_image Firmware image buffer \param[in] fw_image_size Firmware image buffer size \param[in] callback Optional callback for update progress notifications, the progress value is normailzed to 1 \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored