upload

suspend fun upload(data: ByteArray, offset: Int, deferInstall: Boolean = false): McuMgrUploadResponse

Sends a chunk of the SUIT envelope.

Parameters

data

The envelope.

offset

The offset, from which the chunk is sent.

deferInstall

Whether the install should be deferred until beginDeferredInstall.