MeshConnectionManager

Interface for managing the connection lifecycle and status with the mesh radio.

Functions

Link copied to clipboard
abstract fun clearRadioConfig()

Clears the cached radio configuration (local config, channel set, module config).

Link copied to clipboard
abstract fun onHandshakeComplete()

Synchronously cancels the transport-aware handshake watchdog the moment the firmware signals Stage 2 completion (NODE_INFO_NONCE received).

Link copied to clipboard
abstract fun onHandshakeProgress()

Called when meaningful handshake progress is observed on the wire (e.g. an inbound packet related to the in-flight config or node-info exchange).

Link copied to clipboard
abstract suspend fun onNodeDbReady()

Called when the node database is ready and fully populated.

Link copied to clipboard
abstract fun onRadioConfigLoaded()

Called when the radio configuration has been fully loaded.

Link copied to clipboard

Recovers from a failure after firmware handshake completion but before NodeDB install has completed.

Link copied to clipboard
abstract fun startConfigOnly()

Initiates the configuration synchronization stage.

Link copied to clipboard
abstract fun startNodeInfoOnly()

Initiates the node information synchronization stage.

Link copied to clipboard
abstract fun updateStatusNotification(telemetry: Telemetry? = null)

Updates the current status notification.

Link copied to clipboard
abstract fun updateTelemetry(t: Telemetry)

Updates the telemetry information for the local node.