Function rs2_set_safety_preset

Function Documentation

void rs2_set_safety_preset(rs2_sensor const *sensor, int index, const char *sp_json_str, rs2_error **error)

rs2_set_safety_preset

Parameters:
  • sensor[in] Safety sensor

  • index[in] Index to write to

  • sp_json_str[in] Safety preset as JSON string

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