UsbMaintenanceRefusal

Why a maintenance action cannot run. Surfaced as explanatory copy rather than silently hiding the action.

Entries

Link copied to clipboard

The device's SoftDevice variant could not be resolved, so no erase image can be chosen safely. Covers an absent or malformed metadata asset, an unmapped hardware model, and a device reporting a target we have no mapping for.

Link copied to clipboard

The architecture has no UF2 erase path at all (ESP32, portduino).

Link copied to clipboard

The architecture has a UF2 erase path, but the manifest carries no image for it — never fetched or seeded, or a row naming an unsafe file. Distinct from UnsupportedArchitecture so the copy reflects "not available right now" rather than "not possible on this device".

Link copied to clipboard

No release firmware is selected, so there would be nothing to re-flash after erasing.

Link copied to clipboard

The picked destination is not on removable storage, so it cannot be a mounted bootloader volume.

Link copied to clipboard

The picked volume exposes no readable INFO_UF2.TXT, so it is not an Adafruit-family UF2 bootloader drive. Also the outcome when a device rebooted into CDC-only bootloader mode, where no mass-storage volume exists at all.

Link copied to clipboard

The volume's reported SoftDevice contradicts the bundled map. One of the two is wrong and we cannot tell which, so refuse — and treat the map row as suspect.

Link copied to clipboard

No OTAFIX image is published for the Board-ID this volume reports.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

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.