DfuProtocol
interface DfuProtocol
Strategy for executing a firmware update over a DfuTransport.
Implement this interface to support DFU protocols beyond the built-in NordicDfuProtocol. The protocol is responsible for sequencing DFU commands (create, write, execute) and emitting DfuProgress states.
See also
Inheritors
Functions
Link copied to clipboard
abstract fun performDfu(transport: DfuTransport, firmware: FirmwarePackage, options: DfuOptions): Flow<DfuProgress>
Execute a complete firmware update and emit progress.