LegacyDfuException

Errors specific to the Nordic Legacy DFU protocol. These are a subtype of DfuException so the existing handler error-path code (which catches DfuException) covers both protocols.

Inheritors

Types

Link copied to clipboard

Init packet (dat) appears to be Secure-DFU shaped (signed/CBOR), not the small legacy 14-32 B form.

Link copied to clipboard

Bytes received reported by device differs from bytes sent past last PRN window.

Link copied to clipboard
class ProtocolError(val requestOpcode: Byte, val status: Byte) : LegacyDfuException

Device returned a non-success status for a given opcode.

Link copied to clipboard

Bootloader exposes DFU Version characteristic with a value below 5 (Nordic SDK ≤ 6). Unsupported.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?