fuchsia.hardware.temperature

Added: 11

PROTOCOLS

Device

Defined in fuchsia.hardware.temperature/temperature.fidl

GetSensorName

Added: 14

Request

<EMPTY>

Response

NameType
name SensorName

GetTemperatureCelsius

Get the current temperature in degrees Celsius.

Request

<EMPTY>

Response

NameType
status zx/Status
temp float32

CONSTANTS

NameValueTypeDescription
MAX_SENSOR_NAME_LEN 256 uint32
Added: 14

ALIASES

NameValueDescription
SensorName string[MAX_SENSOR_NAME_LEN]

An arbritrary, human-readable string that uniquely identifies a temperature sensor.

Added: 14