getConfig

open suspend fun getConfig(destNum: Int, configType: Int, onRequestId: (Int) -> Unit = {}): Int(source)

Requests a configuration section from the radio.

Return

The packet ID of the request.

Parameters

destNum

The node number to query.

configType

The type of configuration to request (from org.meshtastic.proto.AdminMessage.ConfigType).

onRequestId

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