downloadChunk

suspend fun downloadChunk(name: String, offset: Int): McuMgrFsDownloadResponse

Reads a single packet of a file, starting from the given offset.

The size of the packet is limited by the MTU. Use download to read a whole file.

Parameters

name

The path of the file.

offset

The offset, from which the packet is read.