testOnly constant

FirmwareUpgradeMode const testOnly

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.

Use this mode if you just want to test the image, when it can confirm itself.

Implementation

static const FirmwareUpgradeMode testOnly = const FirmwareUpgradeMode._(0);