template <>

class WireWeakAsyncClientImpl

Defined at line 2981 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::Query> Query ()

Obtain information about the hidbus device and supported features.

Safe to call at any time.

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::Start> Start ()

Start the hidbus device. The device may begin queueing hid reports via

OnReportReceived before this function returns. The hidbus device will

keep track of the number of times Start has been called and will only

be stopped when Stop has been called for each Start that has been

called. Theoretically, Start should not be called again by the same

client unless it has called Stop.

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::Stop> Stop ()

Stop the hidbus device.

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::GetDescriptor> GetDescriptor (::fuchsia_hardware_hidbus::wire::HidDescriptorType desc_type)

Methods matching HID spec 1.11 Chapter 7 Requests

7.1.1 Get_Descriptor

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::SetDescriptor> SetDescriptor (::fuchsia_hardware_hidbus::wire::HidDescriptorType desc_type, ::fidl::VectorView<uint8_t> data)

7.1.2 Set_Descriptor (optional)

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::GetReport> GetReport (::fuchsia_hardware_hidbus::wire::ReportType rpt_type, uint8_t rpt_id, uint64_t len)

7.2.1 Get_Report

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::SetReport> SetReport (::fuchsia_hardware_hidbus::wire::ReportType rpt_type, uint8_t rpt_id, ::fidl::VectorView<uint8_t> data)

7.2.2 Set_Report

The request and callback are allocated on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::GetIdle> GetIdle (uint8_t rpt_id)

7.2.3 Get_Idle

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::SetIdle> SetIdle (uint8_t rpt_id, int64_t duration)

7.2.4 Set_Idle

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::GetProtocol> GetProtocol ()

7.2.5 Get_Protocol

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

::fidl::internal::WireThenable< ::fuchsia_hardware_hidbus::Hidbus::SetProtocol> SetProtocol (::fuchsia_hardware_hidbus::wire::HidProtocol protocol)

7.2.6 Set_Protocol

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