Package-level declarations
Types
This singleton outlives a session, so reset must be called when one ends.
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.
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.
The transition observed when a node's inside/outside state for a geofence is updated.
Lockdown authentication state machine. Processes LockdownStatus messages from the firmware, drives the LockdownState exposed to the UI, and manages auto-replay of cached passphrases.
Implementation of MeshDataHandler that decodes and routes incoming mesh data packets.
Implementation of MessageFilter that uses regex and plain text matching.
Implementation of NodeManager that maintains an in-memory database of the mesh.
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.
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.
Decodes incoming RemoteShell frames (REMOTE_SHELL_APP) and hands them on; session state lives with the terminal screen.
Implementation of StoreForwardPacketHandler that handles both legacy S&F and SF++ packets.
Implementation of TelemetryPacketHandler that processes telemetry packets and raises or clears low-battery warnings.