Function rs2_get_safety_preset

Function Documentation

const rs2_raw_data_buffer *rs2_get_safety_preset(rs2_sensor const *sensor, int index, rs2_error **error)

rs2_get_safety_preset

Parameters:
  • sensor[in] Safety sensor

  • index[in] Index to read from

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

Returns:

JSON string representing the safety preset at the given index as rs2_raw_data_buffer