DfuController
Orchestrates a firmware update over BLE.
Connects the DFU protocol to the BLE peripheral and exposes the update as a cold Flow of DfuProgress states. Collecting the flow starts the transfer; cancelling collection or calling abort stops it.
Parameters
peripheral
a connected Peripheral running a DFU service
protocol
DFU protocol implementation. Defaults to NordicDfuProtocol.