template <>
class WireWeakSyncClientImpl
Defined at line 3112 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::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. Response is heap-allocated.
::fidl::WireResult< ::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 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::Stop> Stop ()
Stop the hidbus device.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::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. Response is heap-allocated.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::SetDescriptor> SetDescriptor (::fuchsia_hardware_hidbus::wire::HidDescriptorType desc_type, ::fidl::VectorView<uint8_t> data)
7.1.2 Set_Descriptor (optional)
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::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. Response is heap-allocated.
::fidl::WireResult< ::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
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::GetIdle> GetIdle (uint8_t rpt_id)
7.2.3 Get_Idle
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::SetIdle> SetIdle (uint8_t rpt_id, int64_t duration)
7.2.4 Set_Idle
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::GetProtocol> GetProtocol ()
7.2.5 Get_Protocol
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_hidbus::Hidbus::SetProtocol> SetProtocol (::fuchsia_hardware_hidbus::wire::HidProtocol protocol)
7.2.6 Set_Protocol
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.