Function rs2_get_flash_log

Function Documentation

int rs2_get_flash_log(rs2_device *dev, rs2_firmware_log_message *fw_log_msg, rs2_error **error)

Gets RealSense flash log - this is a fw log that has been written in the device during the previous shutdown of the device.

Parameters:
  • dev[in] Device from which the FW log should be taken

  • fw_log_msg[in] Firmware log message object to be filled

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

Returns:

true for success, false for failure - failure happens if no firmware log was sent by the hardware monitor