BootloaderOtaQuirk

@Serializable
data class BootloaderOtaQuirk(val hwModel: Int, val hwModelSlug: String? = null, val requiresBootloaderUpgradeForOta: Boolean = false, val infoUrl: String? = null)(source)

Constructors

Link copied to clipboard
constructor(hwModel: Int, hwModelSlug: String? = null, requiresBootloaderUpgradeForOta: Boolean = false, infoUrl: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "hwModel")
val hwModel: Int

Hardware model id, matches DeviceHardware.hwModel.

Link copied to clipboard
@SerialName(value = "hwModelSlug")
val hwModelSlug: String?

Optional slug for readability / tooling.

Link copied to clipboard
@SerialName(value = "infoUrl")
val infoUrl: String?

Optional URL pointing to documentation on how to update the bootloader.

Link copied to clipboard
@SerialName(value = "requiresBootloaderUpgradeForOta")
val requiresBootloaderUpgradeForOta: Boolean

Indicates that devices usually ship with a bootloader that does not support OTA out of the box and require a one-time bootloader upgrade (typically via USB) before DFU updates from the app work.