updatePowerChannelLabel

abstract suspend fun updatePowerChannelLabel(num: Int, channelIndex: Int, label: String)(source)

Sets one user-editable power-channel label (e.g. "Solar", "Battery"). The read-modify-write is atomic, so concurrent edits to different channels don't clobber each other.

Parameters

num

The node number.

channelIndex

The 0-based power channel index.

label

The label to persist (blank clears it).