nordic_dfu library

Classes

AndroidSpecialParameter
Android parameters for DFUServiceInitiator object. See https://github.com/NordicSemiconductor/Android-DFU-Library for more information.
IosSpecialParameter
iOS parameters for DFUServiceInitiator object. See https://github.com/NordicSemiconductor/IOS-Pods-DFU-Library for more information.
NordicDfu
This singleton handles the DFU process.

Typedefs

DfuCallback = void Function(String address)
Callback for when dfu status has changed address Device with error
DfuErrorCallback = void Function(String address, int error, int errorType, String message)
Callback for when dfu has error address Device with error error Error which occurs errorType Error type which has occured message Message that has been thrown with error
DfuProgressCallback = void Function(String address, int percent, double speed, double avgSpeed, int currentPart, int totalParts)
Callback for when the dfu progress has changed address Device with dfu percent Percentage dfu completed speed Speed of the dfu proces avgSpeed Average speed of the dfu process currentPart Current part being uploaded partsTotal All parts that need to be uploaded