[][src]Function realsense_sys::rs2_update_firmware_unsigned

pub unsafe extern "C" fn rs2_update_firmware_unsigned(
    device: *const rs2_device,
    fw_image: *const c_void,
    fw_image_size: c_int,
    callback: rs2_update_progress_callback_ptr,
    client_data: *mut c_void,
    update_mode: c_int,
    error: *mut *mut rs2_error
)

Update device to the provided firmware by writing raw data directly to the flash, this command can be executed only on unlocked camera. 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[in] client_data Optional client data for the callback \param[in] update_mode Select one of RS2_UNSIGNED_UPDATE_MODE, WARNING!!! setting to any option other than RS2_UNSIGNED_UPDATE_MODE_UPDATE will make this call unsafe and might damage the camera \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored