LegacyDfuError

Errors that are returned by the legacy DFU service.

Properties

Link copied to clipboard
val CRC_ERROR: Int = 5
The CRC validation failed.
Link copied to clipboard
The data size is greater than the maximum value allowed.
Link copied to clipboard
The device is in invalid state and could not handle this request.
Link copied to clipboard
The request is not supported by the DFU target.
Link copied to clipboard
The requested operation failed.

Functions

Link copied to clipboard
open fun parse(error: Int): String
Parses the error code and returns the error message.