invoke
open operator fun invoke(packet: MeshPacket, destNum: Int, requestIds: Set<Int>, myNodeNum: Int?, adminChannelIndex: Int?): RadioResponseResult?(source)
Decodes and processes the provided packet.
Return
A RadioResponseResult if the packet matches a request, or null otherwise.
Parameters
packet
The mesh packet received from the radio.
destNum
The node number that the response is expected from.
requestIds
The set of active request IDs.
myNodeNum
The connected node, whose responses never leave the local link.
adminChannelIndex
The index of the legacy admin channel, or null when there is none.