template <>

class WireWeakSyncClientImpl

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

Public Methods

::fidl::WireResult< ::fuchsia_hardware_usb_peripheral::Device::SetConfiguration> SetConfiguration (const ::fuchsia_hardware_usb_peripheral::wire::DeviceDescriptor & device_desc, ::fidl::VectorView< ::fidl::VectorView< ::fuchsia_hardware_usb_peripheral::wire::FunctionDescriptor>> config_descriptors)

Sets the device's descriptors, adds the functions and creates the child devices for the

configuration's interfaces.

At least one function descriptor must be provided.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_hardware_usb_peripheral::Device::ClearFunctions> ClearFunctions ()

Tells the device to remove the child devices for the configuration's interfaces

and reset the list of functions to empty.

The caller should wait for the `FunctionsCleared` event.

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