crc32

suspend fun crc32(name: String): McuMgrFsCrc32Response

Calculates the CRC32 of a file.

Parameters

name

The path of the file.


suspend fun crc32(name: String, offset: Int, length: Int): McuMgrFsCrc32Response

Calculates the CRC32 of a part of a file.

Parameters

name

The path of the file.

offset

The offset, from which the CRC is calculated.

length

The number of bytes to take into account.