DiscoveryPacketCollector

Interface for collecting packets during an active discovery scan. The scan engine implements this interface and registers/unregisters with the packet handler to receive packets during dwell windows.

Properties

Link copied to clipboard
abstract val isActive: Boolean

Whether this collector is currently active (scan in progress).

Functions

Link copied to clipboard
abstract suspend fun onPacketReceived(meshPacket: MeshPacket, dataPacket: DataPacket)

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