Function rs2_query_devices

Function Documentation

rs2_device_list *rs2_query_devices(const rs2_context *context, rs2_error **error)

create a static snapshot of all connected devices at the time of the call

Parameters:
  • context – Object representing librealsense session

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

Returns:

the list of devices, should be released by rs2_delete_device_list