class ConnectToEndpoint
Defined at line 39 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/markers.h
Connect to an endpoint.
Must only be called after `SetInterface` has successfully bound a callback interface.
Typically called before `StartController` to prepare endpoints for configuration, or during
operation when new interfaces/endpoints are configured.
If the client closes its end of the `ep` channel, the DCI server must automatically release
and unbind the physical endpoint, abort any pending transfers without sending completion
events, and allow subsequent `ConnectToEndpoint` calls to succeed.
* error:
* `ZX_ERR_NOT_FOUND` if endpoint address does not exist on the controller.
* `ZX_ERR_ALREADY_BOUND` if the endpoint is already connected to another active
channel.
* `ZX_ERR_BAD_STATE` if called before `SetInterface`.
Public Members
static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal