MeshConfigFlowManager

Interface for managing the configuration flow, including local node info and metadata.

Properties

Link copied to clipboard
abstract val newNodeCount: Int

Returns the number of nodes received in the current stage.

Functions

Link copied to clipboard
abstract fun handleConfigComplete(configCompleteId: Int, session: RadioSessionContext): Boolean

Handles the completion of a configuration stage admitted by session.

Link copied to clipboard
abstract fun handleFileInfo(info: FileInfo, session: RadioSessionContext): Boolean

Handles a FileInfo packet received during STATE_SEND_FILEMANIFEST.

Link copied to clipboard
abstract fun handleLocalMetadata(metadata: DeviceMetadata, session: RadioSessionContext): Boolean

Handles received local device metadata admitted by session.

Link copied to clipboard
abstract fun handleMyInfo(myInfo: MyNodeInfo, session: RadioSessionContext)

Handles local node information admitted by session.

Link copied to clipboard
abstract fun handleNodeInfo(info: NodeInfo, session: RadioSessionContext): Boolean

Handles received node information admitted by session.

Link copied to clipboard

Triggers a request for the full device configuration when session still owns admission.