getDeviceHardwareByModel

open suspend override fun getDeviceHardwareByModel(hwModel: Int, target: String?, forceRefresh: Boolean): Result<DeviceHardware?>(source)

Retrieves device hardware information by its model ID and optional target string.

Pipeline:

  1. If the local DB is empty, seed it from the bundled JSON asset (instant baseline).

  2. If the cached entry is stale or missing, refresh from the remote API with a timeout.

  3. Return the best available data from the DB (never blocks longer than NETWORK_REFRESH_TIMEOUT_MS).