Package-level declarations
Types
Device links moved from the bundled urls.json to the resolved API; original_url is no longer stored.
Wraps a SQLiteDriver so every connection it opens waits up to busyTimeoutMs for a competing connection's lock instead of failing immediately with SQLITE_BUSY ("Error code: 5, message: database is locked").
Manages per-device Room database instances for node data, with LRU eviction.
A bounded one-shot database operation did not finish within its deadline and was abandoned, never replayed.
Provides multiplatform access to the current MeshtasticDatabase and a safe transactional helper. Platform implementations manage the concrete lifecycle (Room on Android, etc.).
Signals that a database-backed Flow never produced its first value, i.e. the Room pool is not serving queries.
Functions
Creates an Android DataStore for database preferences.
Creates a platform-specific DataStore for database-related preferences.
Creates a JVM DataStore for database preferences in the data directory.
Deletes the Android database using the platform-specific deleteDatabase helper.
Deletes the database with the given dbName and its associated files (e.g., -wal, -shm).
Deletes the database and its Room-associated files on JVM.
Resolves the desktop data directory for persistent storage (DataStore files, Room database). Defaults to ~/.meshtastic/. Override via MESHTASTIC_DATA_DIR environment variable.
Returns a RoomDatabase.Builder configured for Android with the given dbName. All platforms use Room KMP's single-connection pool to avoid the reader-pool permit wedge; see MeshtasticDatabase.configureCommon.
Returns a RoomDatabase.Builder configured for the current platform with the given dbName.
Returns a RoomDatabase.Builder configured for JVM/Desktop with the given dbName.
Returns the Android directory where database files are stored.
Returns the platform-specific directory where database files are stored.
Returns the JVM/Desktop directory where database files are stored.
Returns the system FileSystem for Android.
Returns the FileSystem to use for database file operations.
Returns the system FileSystem for JVM.
Returns a RoomDatabase.Builder configured for an in-memory Android database.
Returns a RoomDatabase.Builder configured for an in-memory database on the current platform.
Returns a RoomDatabase.Builder configured for an in-memory JVM database.
Restarts a database-backed Flow after the Room pool wedge behind #6608 — an acquire timeout or a stall — with capped exponential backoff. The backoff resets after a successful emission; every other failure propagates.