MeshConfigHandler

Interface for handling device and module configuration updates.

Properties

Link copied to clipboard
abstract val localConfig: StateFlow<LocalConfig>

Reactive local configuration.

Link copied to clipboard
abstract val moduleConfig: StateFlow<LocalModuleConfig>

Reactive local module configuration.

Functions

Link copied to clipboard
abstract fun handleChannel(channel: Channel)

Handles a received channel configuration.

Link copied to clipboard
abstract fun handleDeviceConfig(config: Config)

Handles a received device configuration.

Link copied to clipboard
abstract fun handleDeviceUIConfig(config: DeviceUIConfig)

Handles the DeviceUIConfig received during the config handshake (STATE_SEND_UIDATA). This arrives as the 2nd packet in every handshake, immediately after my_info.

Link copied to clipboard
abstract fun handleModuleConfig(config: ModuleConfig)

Handles a received module configuration.