BootloaderOtaQuirksCacheEntity

@Serializable
data class BootloaderOtaQuirksCacheEntity(val id: Int = SINGLETON_ID, val devicesJson: String = "[]", val softDeviceVariantsJson: String = "[]")(source)

Single-row cache of the nRF52 bootloader/OTA quirk catalog (/resource/bootloaderOtaQuirks), pre-serialized rather than modeled as per-row tables — the only two readers (applyBootloaderQuirk/applySoftDeviceVariant in DeviceHardwareRepositoryImpl) always want the whole envelope and filter it in Kotlin, so a granular schema would add migration surface for no query anyone runs. id is always SINGLETON_ID; this table only ever holds one row.

Constructors

Link copied to clipboard
constructor(id: Int = SINGLETON_ID, devicesJson: String = "[]", softDeviceVariantsJson: String = "[]")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard