FirmwareUpgradeMode class

Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
rawValue int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

confirmOnly → const FirmwareUpgradeMode
When this flag is set, the manager will send confirm and reset commands immediately after upload.
testAndConfirm → const FirmwareUpgradeMode
When this flag is set, the manager will first send test followed by reset commands, then it will reconnect to the new application and will send confirm command.
testOnly → const FirmwareUpgradeMode
When this mode is set, the manager will send the test and reset commands to the device after the upload is complete. The device will reboot and will run the new image on its next boot. If the new image supports auto-confirm feature, it will try to confirm itself and change state to permanent. If not, test image will run just once and will be swapped again with the original image on the next boot.
uploadOnly → const FirmwareUpgradeMode
Upload Only is a very particular mode. It ignores Bootloader Info, does not test nor confirm any uploded images. It does list/verify, proceed to upload the images, and reset. It is not recommended for use, except perhaps for DirectXIP use cases where the Bootloader is unreliable.