Mode

enum Mode

Entries

Link copied to clipboard

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.

Link copied to clipboard

When this flag is set, the manager will send confirm and reset commands immediately after upload.

Link copied to clipboard

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.

Link copied to clipboard

When this flag is set, the manager will immediately send the reset command after the upload is complete. The device will reboot and will run the new image on its next boot.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.