Expand description
Configuration file management.
Structs§
- Behavior
Config - Behavior configuration for unified data architecture.
- Config
- Configuration file structure
- GuiConfig
- GUI-specific configuration settings.
Functions§
- get_
device_ source - Get info about whether we’re using a fallback device. Returns (device_identifier, fallback_source) where fallback_source is:
- print_
alias_ feedback - Print alias resolution feedback if the user is not in quiet mode. Call this after resolving an alias to inform the user which device was selected.
- print_
device_ source_ feedback - Print device source feedback (e.g., “Using last connected device: …”).
- resolve_
alias - Resolve an alias to its device address, or return the original if not an alias.
- resolve_
alias_ with_ info - Resolve an alias and return information about the resolution. Returns (resolved_address, was_alias, original_alias_name).
- resolve_
devices - Resolve multiple devices, applying alias resolution to each. Returns an empty Vec if no devices are specified.
- resolve_
timeout - Resolve timeout: use provided value, fall back to config, then default.
- update_
last_ device - Update the last connected device in config. This is called after a successful connection.