Package-level declarations
Types
Link copied to clipboard
class AndroidScannerViewModel(serviceRepository: ServiceRepository, radioController: RadioController, radioInterfaceService: RadioInterfaceService, radioPrefs: RadioPrefs, recentAddressesDataSource: RecentAddressesDataSource, getDiscoveredDevicesUseCase: GetDiscoveredDevicesUseCase, networkRepository: NetworkRepository, dispatchers: CoroutineDispatchers, bluetoothRepository: BluetoothRepository, usbRepository: UsbRepository, uiPrefs: UiPrefs, bleScanner: BleScanner? = null) : ScannerViewModel
Link copied to clipboard
class JvmScannerViewModel(serviceRepository: ServiceRepository, radioController: RadioController, radioInterfaceService: RadioInterfaceService, radioPrefs: RadioPrefs, recentAddressesDataSource: RecentAddressesDataSource, getDiscoveredDevicesUseCase: GetDiscoveredDevicesUseCase, networkRepository: NetworkRepository, dispatchers: CoroutineDispatchers, uiPrefs: UiPrefs, bleScanner: BleScanner? = null) : ScannerViewModel
Desktop/JVM ScannerViewModel registration.
Link copied to clipboard
open class ScannerViewModel(serviceRepository: ServiceRepository, radioController: RadioController, radioInterfaceService: RadioInterfaceService, radioPrefs: RadioPrefs, recentAddressesDataSource: RecentAddressesDataSource, getDiscoveredDevicesUseCase: GetDiscoveredDevicesUseCase, networkRepository: NetworkRepository, dispatchers: CoroutineDispatchers, uiPrefs: UiPrefs, bleScanner: BleScanner? = null) : ViewModel
Platform-neutral ViewModel that drives the Connections screen: device discovery (BLE/USB/TCP), scan state, current selection, and connection-progress chatter.
Properties
Link copied to clipboard
One-char prefix marking a BLE device's fullAddress. See DeviceListEntry.Ble.
Link copied to clipboard
One-char prefix / sentinel marking the mock (demo-mode) device's fullAddress. See DeviceListEntry.Mock.
Link copied to clipboard
Sentinel value for "no device selected" that mirrors the one-char prefix used by every real org.meshtastic.feature.connections.model.DeviceListEntry's fullAddress. Persisted by radioInterfaceService so the UI layer can distinguish "user explicitly disconnected" from "first launch".
Link copied to clipboard
One-char prefix marking a TCP/Network device's fullAddress. See DeviceListEntry.Tcp.