OtafixBleDfuEntry

@Serializable
data class OtafixBleDfuEntry(val otafixBoardSlug: String, val softDevice: String, val bleModel: String, val sha256: String)(source)

The legacy DFU SoftDevice+bootloader package a board takes over BLE, keyed in MaintenanceUf2Manifest by DeviceHardware.platformioTarget: BLE cannot read the drive's Board-ID, so the running node's target picks the row and the bootloader's own DIS Model Number must then equal bleModel before anything is written.

Constructors

Link copied to clipboard
constructor(otafixBoardSlug: String, softDevice: String, bleModel: String, sha256: String)

Properties

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

The bootloader's BLEDIS_MODEL, read back from DIS 0x2A24 in DFU mode.

Link copied to clipboard
@SerialName(value = "otafixBoardSlug")
val otafixBoardSlug: String
Link copied to clipboard
@SerialName(value = "sha256")
val sha256: String

Digest of the release's <otafixBoardSlug>_bootloader-<tag>_s140_<softDevice>.zip.

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

The SoftDevice the package carries, as SoftDeviceVariant.fromWire reads it. It must equal the installed one: an app linked for the other SoftDevice does not boot.