template <>

class WireWeakSyncClientImpl

Defined at line 3487 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::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 48 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 64 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_usb_dci::UsbDci::DisableEndpoint> DisableEndpoint (uint8_t ep_address)

Disable the given endpoint.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_usb_dci::UsbDci::CancelAll> CancelAll (uint8_t ep_address)

Cancel all pending transactions for the given endpoint.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.