Function rs2_query_sensors

Function Documentation

rs2_sensor_list *rs2_query_sensors(const rs2_device *device, rs2_error **error)

Create a static snapshot of all connected sensors within a specific device.

Parameters:
  • device[in] Specific RealSense device

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

Returns:

The list of sensors, should be released by rs2_delete_sensor_list