NordicDfu class
This singleton handles the DFU process.
Constructors
- NordicDfu()
-
factory
Properties
- events ↔ StreamSubscription?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
abortDfu(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startDfu(
String address, String filePath, {String? name, bool? fileInAsset, bool? forceDfu, int? numberOfPackets, bool? enableUnsafeExperimentalButtonlessServiceInSecureDfu, AndroidSpecialParameter androidSpecialParameter = const AndroidSpecialParameter(), IosSpecialParameter iosSpecialParameter = const IosSpecialParameter(), DfuCallback? onDeviceConnected, DfuCallback? onDeviceConnecting, DfuCallback? onDeviceDisconnected, DfuCallback? onDeviceDisconnecting, DfuCallback? onDfuAborted, DfuCallback? onDfuCompleted, DfuCallback? onDfuProcessStarted, DfuCallback? onDfuProcessStarting, DfuCallback? onEnablingDfuMode, DfuCallback? onFirmwareValidating, DfuErrorCallback? onError, DfuProgressCallback? onProgressChanged}) → Future< String?> -
Start the DFU Process.
Required:
address
android: mac address iOS: device uuidfilePath
zip file path -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited