BootloaderOtaQuirksRepositoryImpl

Caches the nRF52 bootloader/OTA quirk catalog from the Meshtastic API (/resource/bootloaderOtaQuirks), seeded from the bundled device_bootloader_ota_quirks.json snapshot so it is never empty offline. Unlike DeviceHardwareRepositoryImpl (which this mirrors for seeding), reconcile carries no TTL of its own — DeviceHardwareRepositoryImpl's own refresher calls it on the same cadence as its catalog refresh, so the two caches age together instead of drifting on separate schedules.

Constructors

Link copied to clipboard
constructor(remoteDataSource: BootloaderOtaQuirksRemoteDataSource, localDataSource: BootloaderOtaQuirksLocalDataSource, assetReader: BundledAssetReader, json: Json, dispatchers: CoroutineDispatchers)

Functions

Link copied to clipboard
open suspend override fun getSnapshot(): BootloaderOtaQuirksResponse
Link copied to clipboard
open suspend override fun reconcile()