template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::ConnectToEndpoint> ConnectToEndpoint (::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::ConnectToEndpoint> request)

Connects to endpoint. Returns

* ZX_ERR_NOT_FOUND: if endpoint address does not exist.

* ZX_ERR_ALREADY_BOUND: if the endpoint is already bound.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::SetInterface> SetInterface (::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::SetInterface> request)

Bind the interface as given by the child node.

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

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

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::ConfigureEndpoint> ConfigureEndpoint (const ::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::ConfigureEndpoint> & request)

Configure and endpoint with the given configuration.

See usb20 9.6.6

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::DisableEndpoint> DisableEndpoint (const ::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::DisableEndpoint> & request)

Disable the given endpoint.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::EndpointSetStall> EndpointSetStall (const ::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::EndpointSetStall> & request)

Set stall condition for the given endpoint.

See usb20 8.5.3.4

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::EndpointClearStall> EndpointClearStall (const ::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::EndpointClearStall> & request)

Clear stall condition for the given endpoint.

See usb32 8.5.3.4

::fidl::internal::NaturalThenable< ::fuchsia_hardware_usb_dci::UsbDci::CancelAll> CancelAll (const ::fidl::Request< ::fuchsia_hardware_usb_dci::UsbDci::CancelAll> & request)

Cancel all pending transactions for the given endpoint.