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. call_sign, short_name and the optional long_name are user-supplied; tx_power/frequency are filled in by the controller.

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.