Function rs2_get_sensor_info

Function Documentation

const char *rs2_get_sensor_info(const rs2_sensor *sensor, rs2_camera_info info, rs2_error **error)

retrieve sensor specific information, like versions of various internal components

Parameters:
  • sensor[in] the RealSense sensor

  • info[in] camera info type to retrieve

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

Returns:

the requested camera info string, in a format specific to the device model