McuBoot

class McuBoot(val image: ByteArray, val imageIndex: Int = 0) : FirmwarePackage

MCUboot firmware image for SMP-based DFU.

Constructors

Link copied to clipboard
constructor(image: ByteArray, imageIndex: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

raw MCUboot image bytes (header + payload + TLV trailer)

Link copied to clipboard

target image slot index (0 for primary, 1+ for multi-image)

Link copied to clipboard
open override val totalBytes: Long

combined firmware payload size in bytes

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int