getChannel

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

Requests a channel from the radio.

Return

The packet ID of the request.

Parameters

destNum

The node number to query.

index

The index of the channel to request.

onRequestId

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