RadioConfigRepository
Properties
Flow representing the ChannelSet data store.
Flow representing the combined DeviceProfile protobuf.
Flow of the device's UI configuration, populated from DeviceUIConfig during the config handshake (STATE_SEND_UIDATA — 2nd packet in every handshake). Null until the first handshake completes or after clearDeviceUIConfig is called.
Flow of FileInfo packets accumulated during STATE_SEND_FILEMANIFEST.
Flow representing the LocalConfig data store.
Flow of the firmware's region→modem-preset compatibility map (LoRaRegionPresetMap), populated from org.meshtastic.proto.FromRadio.region_presets during the config handshake (sent after metadata, before channels). Null when the connected firmware predates this message (< 2.8) or after clearLoraRegionPresetMap. The local LoRa config UI uses it to constrain the preset picker to the presets legal in the selected region.
Flow representing the LocalModuleConfig data store.
Functions
Appends a single FileInfo entry to fileManifestFlow.
Clears the ChannelSet data in the data store.
Clears the stored DeviceUIConfig; called at the start of each new handshake.
Clears the accumulated file manifest; called at the start of each new handshake.
Clears the LocalConfig data in the data store.
Clears the LocalModuleConfig data in the data store.
Clears the stored region→preset map; called at the start of each new handshake.
Re-keys stored conversations onto the current channel set.
Replaces the ChannelSettings list with a new settingsList.
Stores the DeviceUIConfig received from the device.
Updates LocalConfig from each Config oneOf.
Updates LocalModuleConfig from each ModuleConfig oneOf.
Stores the LoRaRegionPresetMap received from the device.
Atomically updates the cached channel set. A null argument preserves that field's current value.
Updates the ChannelSettings list with the provided channel.