template <>

class NaturalClientImpl

Defined at line 330 of file fidling/gen/sdk/fidl/fuchsia.hardware.thermal/fuchsia.hardware.thermal/cpp/fidl/fuchsia.hardware.thermal/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::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.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::SetFanLevel> SetFanLevel (const ::fidl::Request< ::fuchsia_hardware_thermal::Device::SetFanLevel> & request)

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.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetTemperatureCelsius> GetTemperatureCelsius ()

Get the current temperature in degrees Celsius.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetSensorName> GetSensorName ()
::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetInfo> GetInfo ()

Get information about the device's current state.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetDeviceInfo> GetDeviceInfo ()

Get information about the device's thermal capabilities and trip points.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetDvfsInfo> GetDvfsInfo (const ::fidl::Request< ::fuchsia_hardware_thermal::Device::GetDvfsInfo> & request)

Get the device's operating points.

TODO(bradenkell): Can this be removed? GetDeviceInfo() provides the same information.

::fidl::internal::NaturalThenable< ::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.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetStateChangePort> GetStateChangePort ()

Get a port to get trip point notification packets.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::SetTripCelsius> SetTripCelsius (const ::fidl::Request< ::fuchsia_hardware_thermal::Device::SetTripCelsius> & request)

Sets a trip point in degrees Celsius. When the sensor reaches the trip point temperature the

device will notify on an event.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::GetDvfsOperatingPoint> GetDvfsOperatingPoint (const ::fidl::Request< ::fuchsia_hardware_thermal::Device::GetDvfsOperatingPoint> & request)

Get the current operating point index.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_thermal::Device::SetDvfsOperatingPoint> SetDvfsOperatingPoint (const ::fidl::Request< ::fuchsia_hardware_thermal::Device::SetDvfsOperatingPoint> & request)

Set the operating point index.