template <>

class WireWeakAsyncClientImpl

Defined at line 3368 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::WireThenable< ::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.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

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

Bind the interface as given by the child node.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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

Allocates 32 bytes of request buffer on the stack. The callback is stored on the heap.

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

Disable the given endpoint.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

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

Set stall condition for the given endpoint.

See usb20 8.5.3.4

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

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

Clear stall condition for the given endpoint.

See usb32 8.5.3.4

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

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

Cancel all pending transactions for the given endpoint.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.