Package-level declarations

Types

Link copied to clipboard

This singleton outlives a session, so reset must be called when one ends.

Link copied to clipboard

In-memory inside/outside state per (waypointId, nodeNum). NOT persisted: a relaunch re-baselines, which is exactly what prevents spurious alerts at startup. Mutated from the service scope as positions arrive, so guarded by a Mutex.

Link copied to clipboard
class GeofenceMonitor(packetRepository: Lazy<PacketRepository>, nodeManager: NodeManager, serviceNotifications: MeshNotificationManager, crossingStore: GeofenceCrossingStore, notificationPrefs: NotificationPrefs, radioInterfaceService: RadioInterfaceService, scope: ServiceScope)

Raises a LOCAL notification when another mesh node's reported position crosses a waypoint's geofence. Evaluation runs against OTHER nodes' positions arriving over the mesh — never the device's own location — so this is manual point-in-region math, NOT the OS Geofencing API.

Link copied to clipboard

The transition observed when a node's inside/outside state for a geofence is updated.

Link copied to clipboard
class HistoryManagerImpl(meshPrefs: MeshPrefs, radioInterfaceService: RadioInterfaceService) : HistoryManager
Link copied to clipboard
class LockdownCoordinatorImpl(serviceRepository: ServiceRepository, passphraseStore: LockdownPassphraseStore, radioInterfaceService: RadioInterfaceService, connectionManager: Lazy<MeshConnectionManager>) : LockdownCoordinator

Lockdown authentication state machine. Processes LockdownStatus messages from the firmware, drives the LockdownState exposed to the UI, and manages auto-replay of cached passphrases.

Link copied to clipboard
class MeshConfigFlowManagerImpl(nodeManager: NodeManager, nodeRepository: NodeRepository, radioConfigRepository: RadioConfigRepository, analytics: PlatformAnalytics, notificationPrefs: NotificationPrefs, radioInterfaceService: RadioInterfaceService)
Link copied to clipboard
class MeshConnectionManagerImpl(radioInterfaceService: RadioInterfaceService, serviceRepository: ServiceRepository, serviceNotifications: MeshNotificationManager, uiPrefs: UiPrefs, packetHandler: PacketHandler, nodeRepository: NodeRepository, locationManager: MeshLocationManager, mqttManager: MqttManager, historyManager: HistoryManager, radioConfigRepository: RadioConfigRepository, nodeManager: NodeManager, analytics: PlatformAnalytics, packetRepository: PacketRepository, workerManager: MeshWorkerManager, appWidgetUpdater: AppWidgetUpdater, scope: ServiceScope, nodeRestartTracker: NodeRestartTracker) : MeshConnectionManager
Link copied to clipboard
class MeshDataHandlerImpl(nodeManager: NodeManager, serviceStateWriter: ServiceStateWriter, packetRepository: Lazy<PacketRepository>, serviceNotifications: MeshNotificationManager, analytics: PlatformAnalytics, dataMapper: MeshDataMapper, tracerouteHandler: TracerouteHandler, neighborInfoHandler: NeighborInfoHandler, radioConfigRepository: RadioConfigRepository, messageFilter: MessageFilter, storeForwardHandler: StoreForwardPacketHandler, telemetryHandler: TelemetryPacketHandler, remoteShellHandler: RemoteShellHandler, collectorRegistry: DiscoveryPacketCollectorRegistry, geofenceMonitor: GeofenceMonitor, meshBeaconRepository: MeshBeaconRepository, radioInterfaceService: RadioInterfaceService, activeConversationTracker: ActiveConversationTracker, scope: ServiceScope) : MeshDataHandler

Implementation of MeshDataHandler that decodes and routes incoming mesh data packets.

Link copied to clipboard

Implementation of MessageFilter that uses regex and plain text matching.

Link copied to clipboard
class MqttManagerImpl(mqttRepository: MQTTRepository, radioInterfaceService: RadioInterfaceService, serviceStateWriter: ServiceStateWriter, nodeRepository: NodeRepository, scope: ServiceScope) : MqttManager
Link copied to clipboard
Link copied to clipboard
class NodeManagerImpl(nodeRepository: NodeRepository, serviceNotifications: MeshNotificationManager, radioInterfaceService: RadioInterfaceService, scope: ServiceScope) : NodeManager

Implementation of NodeManager that maintains an in-memory database of the mesh.

Link copied to clipboard
class PacketHandlerImpl(packetRepository: Lazy<PacketRepository>, databaseProvider: DatabaseProvider, radioInterfaceService: RadioInterfaceService, connectionStateProvider: ConnectionStateProvider, nodeManager: NodeManager, scope: ServiceScope) : PacketHandler
Link copied to clipboard
class RadioSessionEventHandler(serviceStateWriter: ServiceStateWriter, mqttManager: MqttManager, nodeManager: NodeManager, serviceNotifications: MeshNotificationManager, firmwareUpdateStatusRepository: FirmwareUpdateStatusRepository, radioInterfaceService: RadioInterfaceService, scope: ServiceScope)

Applies the MeshEvents an SDK session delivers after Ready. Callers run it on the session collector only while the session is active, so each synchronous effect lands in the session that raised it.

Link copied to clipboard
class RadioSessionProjection(nodeManager: NodeManager, nodeRepository: NodeRepository, serviceStateWriter: ServiceStateWriter, meshLogRepository: Lazy<MeshLogRepository>, dataHandler: Lazy<MeshDataHandler>, configFlowManager: Lazy<MeshConfigFlowManagerImpl>, eventHandler: Lazy<RadioSessionEventHandler>, displayMirrorManager: Lazy<DisplayMirrorManager>, radioInterfaceService: RadioInterfaceService, scope: ServiceScope)

Writes one app radio session's typed SDK session events into Room, the repositories and the app's packet consumers. The SDK owns protocol state, NodeDB, config and channels; this keeps what the app adds on top: durable history, link metrics the SDK does not track, notifications and the MeshLog audit rows.

Link copied to clipboard

Decodes incoming RemoteShell frames (REMOTE_SHELL_APP) and hands them on; session state lives with the terminal screen.

Link copied to clipboard
class StoreForwardPacketHandlerImpl(nodeManager: NodeManager, packetRepository: Lazy<PacketRepository>, historyManager: HistoryManager, dataHandler: Lazy<MeshDataHandler>, radioInterfaceService: RadioInterfaceService, scope: ServiceScope) : StoreForwardPacketHandler

Implementation of StoreForwardPacketHandler that handles both legacy S&F and SF++ packets.

Link copied to clipboard
class TelemetryPacketHandlerImpl(nodeManager: NodeManager, connectionManager: Lazy<MeshConnectionManager>, serviceNotifications: MeshNotificationManager, radioInterfaceService: RadioInterfaceService, scope: ServiceScope) : TelemetryPacketHandler

Implementation of TelemetryPacketHandler that processes telemetry packets and raises or clears low-battery warnings.

Link copied to clipboard
class TracerouteHandlerImpl(serviceStateWriter: ServiceStateWriter, tracerouteSnapshotRepository: TracerouteSnapshotRepository, nodeRepository: NodeRepository, radioInterfaceService: RadioInterfaceService, meshLogRepository: Lazy<MeshLogRepository>, scope: ServiceScope) : TracerouteHandler