onPacketReceived

abstract suspend fun onPacketReceived(meshPacket: MeshPacket, dataPacket: DataPacket)(source)

Called when a mesh packet is received during an active scan. Implementations should classify and aggregate the packet data.

Parameters

meshPacket

The raw mesh packet from the radio

dataPacket

The decoded data packet with routing info