nordic_dfu library

Classes

AndroidSpecialParameter
Some parameter just use in Android All this parameters can see in
IosSpecialParameter
Some parameter just use in iOS All this parameters can see in
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