Function rs2_query_devices
Defined in File rs_context.h
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