Function rs2_set_option

Function Documentation

void rs2_set_option(const rs2_options *options, rs2_option option, float value, rs2_error **error)

write new value to sensor option

Parameters:
  • options[in] the options container

  • option[in] option id to be queried

  • value[in] new value for the option

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