DFUResponse

data class DFUResponse(var deviceId: UInt, var dfuVersion: String, var dfuImage: ByteArray, var oobRequest: ByteArray, var mcubootFirmware: ByteArray = ByteArray(0))

Matches the DFU object from link.proto

Copy has to be created since protos cannot be used in commonMain declarations since protos aren't present natively in iOSMain side of KMM. Hopefully by end of Summer 2025, update is released to resolve this issue

Reference DFU proto: message DFU { optional uint32 device_id = 1; optional string firmware_name = 2; optional bytes firmware = 3; }

Constructors

Link copied to clipboard
constructor(deviceId: UInt, dfuVersion: String, dfuImage: ByteArray, oobRequest: ByteArray, mcubootFirmware: ByteArray = ByteArray(0))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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