// Copyright 2020 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
@available(added=11) | |
library fuchsia.hardware.temperature; | |
using zx; | |
protocol Device { | |
/// Get the current temperature in degrees Celsius. | |
GetTemperatureCelsius() -> (struct { | |
status zx.Status; | |
temp float32; | |
}); | |
}; |