SharedRadioInterfaceService
class SharedRadioInterfaceService(dispatchers: CoroutineDispatchers, bluetoothRepository: BluetoothRepository, networkRepository: NetworkRepository, serialDevicePresence: SerialDevicePresence, processLifecycle: Lifecycle, radioPrefs: RadioPrefs, transportFactory: RadioTransportFactory, analytics: PlatformAnalytics) : RadioInterfaceService(source)
Shared multiplatform connection orchestrator for Meshtastic radios.
Manages the connection lifecycle (connect, active, disconnect, reconnect loop), device address state flows, and hardware state observability (BLE/Network toggles). Delegates the actual raw byte transport mapping to a platform-specific RadioTransportFactory.
Constructors
Link copied to clipboard
constructor(dispatchers: CoroutineDispatchers, bluetoothRepository: BluetoothRepository, networkRepository: NetworkRepository, serialDevicePresence: SerialDevicePresence, processLifecycle: Lifecycle, radioPrefs: RadioPrefs, transportFactory: RadioTransportFactory, analytics: PlatformAnalytics)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onDisconnect(isPermanent: Boolean, errorMessage: String?, reason: TransportDisconnectReason?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard