Function rs2_set_option_value

Function Documentation

void rs2_set_option_value(rs2_options const *options, rs2_option_value const *option_value, rs2_error **error)

write new value to sensor option

Parameters:
  • options[in] the options container

  • option_value[in] option id, type, and value to be set

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