template <>

class WireWeakAsyncBufferClientImpl

Defined at line 3426 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.dci/fuchsia.hardware.usb.dci/cpp/fidl/fuchsia.hardware.usb.dci/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::ConnectToEndpoint> ConnectToEndpoint (uint8_t ep_addr, ::fidl::ServerEnd< ::fuchsia_hardware_usb_endpoint::Endpoint> && ep)

Connects to endpoint. Returns

* ZX_ERR_NOT_FOUND: if endpoint address does not exist.

* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::SetInterface> SetInterface (::fidl::ClientEnd< ::fuchsia_hardware_usb_dci::UsbDciInterface> && interface)

Bind the interface as given by the child node.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::StartController> StartController ()

Start running in peripheral mode. Connects the device to the host. Usually called when all

functions are ready.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::StopController> StopController ()

Stop running in peripheral mode. Disconnects the device from the host. Usually called when

a function is cleared.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::ConfigureEndpoint> ConfigureEndpoint (const ::fuchsia_hardware_usb_descriptor::wire::UsbEndpointDescriptor & ep_descriptor, const ::fuchsia_hardware_usb_descriptor::wire::UsbSsEpCompDescriptor & ss_comp_descriptor)

Configure and endpoint with the given configuration.

See usb20 9.6.6

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::DisableEndpoint> DisableEndpoint (uint8_t ep_address)

Disable the given endpoint.

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::EndpointSetStall> EndpointSetStall (uint8_t ep_address)

Set stall condition for the given endpoint.

See usb20 8.5.3.4

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::EndpointClearStall> EndpointClearStall (uint8_t ep_address)

Clear stall condition for the given endpoint.

See usb32 8.5.3.4

Caller provides the backing storage for FIDL message.

::fidl::internal::WireBufferThenable< ::fuchsia_hardware_usb_dci::UsbDci::CancelAll> CancelAll (uint8_t ep_address)

Cancel all pending transactions for the given endpoint.

Caller provides the backing storage for FIDL message.