DFUDevice
data class DFUDevice(val deviceId: UInt, var peripheral: BluetoothDevice, var parsedManifest: ParsedManifest? = null, var parsedMcubootManifest: ParsedMcubootManifest? = null, var oobRequestPayload: ByteArray? = null, var currentVersion: DeviceFirmwareVersion? = null, var dfuVersion: String? = null, var applicationUpdateRequired: Boolean = false, var mcubootUpdateRequired: Boolean = false, var stageIndex: Int = 0)
Device object pertaining to DFU library. Stores device information along with an optional parsed binary file representation used for performing DFU
Constructors
Link copied to clipboard
constructor(deviceId: UInt, peripheral: BluetoothDevice, parsedManifest: ParsedManifest? = null, parsedMcubootManifest: ParsedMcubootManifest? = null, oobRequestPayload: ByteArray? = null, currentVersion: DeviceFirmwareVersion? = null, dfuVersion: String? = null, applicationUpdateRequired: Boolean = false, mcubootUpdateRequired: Boolean = false, stageIndex: Int = 0)