template <>
class WireWeakAsyncClientImpl
Defined at line 3176 of file fidling/gen/sdk/fidl/fuchsia.hardware.thermal/fuchsia.hardware.thermal/cpp/fidl/fuchsia.hardware.thermal/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetFanLevel> GetFanLevel ()
Get the current fan level.
- response `status`
ZX_ERR_INTERNAL if `fan_level` is not available.
This generally means that `fan_level` has not
been initialized yet or something has gone
terribly wrong.
- response `fan_level` a uint32 field indicating the
current fan level. See fan level description above.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::SetFanLevel> SetFanLevel (uint32_t fan_level)
Set the fan level.
+ request `fan_level` a uint32 field indicating the
requested fan level. See fan level description above.
- response `status`
ZX_ERR_OUT_OF_RANGE if the requested fan_level is not
valid.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetTemperatureCelsius> GetTemperatureCelsius ()
Get the current temperature in degrees Celsius.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetSensorName> GetSensorName ()
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetInfo> GetInfo ()
Get information about the device's current state.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetDeviceInfo> GetDeviceInfo ()
Get information about the device's thermal capabilities and trip points.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetDvfsInfo> GetDvfsInfo (::fuchsia_hardware_thermal::wire::PowerDomain power_domain)
Get the device's operating points.
TODO(bradenkell): Can this be removed? GetDeviceInfo() provides the same information.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetStateChangeEvent> GetStateChangeEvent ()
Get an event to get trip point notifications on. `ZX_USER_SIGNAL_`0 is changed when either
trip point is reached. It is deasserted when the state is read via GetInfo.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetStateChangePort> GetStateChangePort ()
Get a port to get trip point notification packets.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::SetTripCelsius> SetTripCelsius (uint32_t id, float temp)
Sets a trip point in degrees Celsius. When the sensor reaches the trip point temperature the
device will notify on an event.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::GetDvfsOperatingPoint> GetDvfsOperatingPoint (::fuchsia_hardware_thermal::wire::PowerDomain power_domain)
Get the current operating point index.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::fuchsia_hardware_thermal::Device::SetDvfsOperatingPoint> SetDvfsOperatingPoint (uint16_t op_idx, ::fuchsia_hardware_thermal::wire::PowerDomain power_domain)
Set the operating point index.
Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.