Function rs2_create_flash_backup

Function Documentation

const rs2_raw_data_buffer *rs2_create_flash_backup(const rs2_device *device, rs2_update_progress_callback_ptr callback, void *client_data, rs2_error **error)

Create backup of camera flash memory. Such backup does not constitute valid firmware image, and cannot be loaded back to the device, but it does contain all calibration and device information.

Parameters:
  • device[in] Device to update

  • callback[in] Optional callback for update progress notifications, the progress value is normailzed to 1

  • client_data[in] Optional client data for the callback

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored