mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-12 08:42:01 -04:00
Replace the legacy AIDL-based AndroidRadioControllerImpl with an SDK-backed implementation that delegates all operations through RadioClient: SdkRadioControllerImpl: - Full RadioController interface impl (~35 methods) - Local admin ops → SDK AdminApi/TelemetryApi/RoutingApi - Remote admin ops → raw MeshPacket via RadioClient.send() - Registered as @Single(binds = [RadioController::class]) in Koin SdkStateBridge: - Bridges SDK reactive flows (connection, nodes, packets, events) into ServiceRepository and NodeManager for legacy UI compatibility - Connection state mapping (SDK states → app ConnectionState enum) - Node snapshot/added/updated/removed → NodeManager - Inbound telemetry/position/user packets → NodeManager handlers - Events (reboot, security warnings, drops) → notification layer AndroidRadioControllerImpl: - @Single annotation disabled (commented out) to prevent Koin conflict - Class retained for reference/fallback Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>