Function rs2_create_device_hub

Function Documentation

rs2_device_hub *rs2_create_device_hub(const rs2_context *context, rs2_error **error)

Creates RealSense device_hub .

Parameters:
  • context[in] The context for the device hub

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

Returns:

Device hub object