RadioConfigRepositoryImpl

open class RadioConfigRepositoryImpl(nodeDB: ERROR CLASS: Symbol not found for NodeRepository, channelSetDataSource: ERROR CLASS: Symbol not found for ChannelSetDataSource, localConfigDataSource: ERROR CLASS: Symbol not found for LocalConfigDataSource, moduleConfigDataSource: ERROR CLASS: Symbol not found for ModuleConfigDataSource) : <ERROR CLASS> ERROR CLASS: Symbol not found for RadioConfigRepository(source)

Class responsible for radio configuration data. Combines access to nodeDB, ChannelSet, LocalConfig&LocalModuleConfig.

Constructors

Link copied to clipboard
constructor(nodeDB: ERROR CLASS: Symbol not found for NodeRepository, channelSetDataSource: ERROR CLASS: Symbol not found for ChannelSetDataSource, localConfigDataSource: ERROR CLASS: Symbol not found for LocalConfigDataSource, moduleConfigDataSource: ERROR CLASS: Symbol not found for ModuleConfigDataSource)

Properties

Link copied to clipboard
open override val channelSetFlow: ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for ChannelSet>

Flow representing the ChannelSet data store.

Link copied to clipboard
open override val deviceProfileFlow: ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for DeviceProfile>

Flow representing the combined DeviceProfile protobuf.

Link copied to clipboard
open override val localConfigFlow: ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for LocalConfig>

Flow representing the LocalConfig data store.

Link copied to clipboard
open override val moduleConfigFlow: ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for LocalModuleConfig>

Flow representing the LocalModuleConfig data store.

Functions

Link copied to clipboard
open suspend override fun clearChannelSet()

Clears the ChannelSet data in the data store.

Link copied to clipboard
open suspend override fun clearLocalConfig()

Clears the LocalConfig data in the data store.

Link copied to clipboard
open suspend override fun clearLocalModuleConfig()

Clears the LocalModuleConfig data in the data store.

Link copied to clipboard
open suspend override fun replaceAllSettings(settingsList: List<ERROR CLASS: Symbol not found for ChannelSettings>)

Replaces the ChannelSettings list with a new settingsList.

Link copied to clipboard
open suspend override fun setLocalConfig(config: ERROR CLASS: Symbol not found for Config)

Updates LocalConfig from each Config oneOf.

Link copied to clipboard
open suspend override fun setLocalModuleConfig(config: ERROR CLASS: Symbol not found for ModuleConfig)

Updates LocalModuleConfig from each ModuleConfig oneOf.

Link copied to clipboard
open suspend override fun updateChannelSettings(channel: ERROR CLASS: Symbol not found for Channel): ERROR CLASS: Unresolved name: updateChannelSettings

Updates the ChannelSettings list with the provided channel and returns the index of the admin channel after the update (if not found, returns 0).