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
Init packet (dat) appears to be Secure-DFU shaped (signed/CBOR), not the small legacy 14-32 B form.
Bytes received reported by device differs from bytes sent past last PRN window.
Device returned a non-success status for a given opcode.
START_DFU was rejected with INVALID_STATE because the bootloader still holds a previous, interrupted DFU session. The transport has issued a RESET; retrying the whole session (fresh reconnect) will start over on the now-clean bootloader. Retryable — distinct from a hard ProtocolError.
Bootloader exposes DFU Version characteristic with a value below 5 (Nordic SDK ≤ 6). Unsupported.