template <>

class WireSyncBufferClientImpl

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

Public Methods

::fidl::WireUnownedResult< ::fuchsia_hardware_hidbus::Hidbus::Query> Query ()

Obtain information about the hidbus device and supported features.

Safe to call at any time.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_hidbus::Hidbus::Stop> Stop ()

Stop the hidbus device.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

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

7.1.2 Set_Descriptor (optional)

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::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

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_hidbus::Hidbus::GetIdle> GetIdle (uint8_t rpt_id)

7.2.3 Get_Idle

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

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

7.2.4 Set_Idle

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_hidbus::Hidbus::GetProtocol> GetProtocol ()

7.2.5 Get_Protocol

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

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

7.2.6 Set_Protocol

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.