class ConnectToEndpoint
Defined at line 38 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb/fuchsia.hardware.usb/cpp/fidl/fuchsia.hardware.usb/cpp/markers.h
Connects a channel to the specified USB endpoint (`ep_addr`).
Endpoint 0 (the default control pipe) cannot be connected via this method; use
[`ControlTransfer`] instead.
Closing the [`Usb`] channel does not automatically close open [`Endpoint`] channels, which
remain bound to the underlying host controller until explicitly closed by the client or
disconnected when the physical USB device is unplugged.
* error:
* `ZX_ERR_INVALID_ARGS` if `ep_addr` refers to endpoint 0 or an endpoint number > 15.
* `ZX_ERR_NOT_FOUND` if the device or endpoint address does not exist.
* `ZX_ERR_ALREADY_BOUND` if the endpoint is already bound to an active channel.
* `ZX_ERR_IO_NOT_PRESENT` if the device has been disconnected.
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