Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-model
/
org.meshtastic.core.model.util
/
withOneWireTemperature
with
One
Wire
Temperature
fun
EnvironmentMetrics
.
withOneWireTemperature
(
channel
:
Int
,
value
:
Float
?
)
:
EnvironmentMetrics
(
source
)
Returns a copy with 1-Wire
channel
set to
value
; an out-of-range
channel
is a no-op.