BootloaderOtaQuirksResponse

@Serializable
data class BootloaderOtaQuirksResponse(val devices: List<BootloaderOtaQuirk> = emptyList(), val softDeviceVariants: List<SoftDeviceVariantEntry> = emptyList())(source)

Envelope of the bundled device_bootloader_ota_quirks.json asset.

Constructors

Link copied to clipboard
constructor(devices: List<BootloaderOtaQuirk> = emptyList(), softDeviceVariants: List<SoftDeviceVariantEntry> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "softDeviceVariants")
val softDeviceVariants: List<SoftDeviceVariantEntry>

Per-model SoftDevice variants. Kept as a separate array from devices on purpose: BootloaderOtaQuirk is an advisory warning that may safely fail open, while this map gates a destructive flash and must fail closed. One record carrying both postures would invite a future edit that relaxes the wrong one.