The target identifier of the device to update.
The path of the DFU files to send to the device (can be a zip, hex or bin file).
Optional
options: StartDfuOptionsOptional parameters, see StartDfuOptions.
An object of type descendant from DfuError.
Starts the Device Firmware Update (DFU) service for the Bluetooth device identified by the given target id.
The target id may be the device system id or bluetooth address depending on the host OS. See its type DfuTargetId. Use the helper function getDfuTargetId to select the correct data in a generic way.
Use the optional options.dfuStateListener parameter to get notified about the state changes of the DFU process.