setHamMode

open suspend fun setHamMode(destNum: Int, hamParameters: HamParameters, onRequestId: (Int) -> Unit = {}): Int(source)

Enables amateur-radio (ham) mode on the locally connected node via set_ham_mode. At protobufs 2.7.25 only call_sign and short_name are user-supplied; long_name becomes settable when meshtastic/protobufs#941 ships.

Return

The packet ID of the request.

Parameters

destNum

The node number to update (must be the local node).

hamParameters

The ham onboarding parameters.

onRequestId

Invoked with the request's packet ID before the send is issued.