public static enum DeviceFirmware.FirmwareUpdateStatus extends Enum<DeviceFirmware.FirmwareUpdateStatus>
The mgmt.firmware.updateStatus
attribute describes the status of firmware update. The possible values for
mgmt.firmware.status are:
| Value | State | Meaning |
|---|---|---|
| 0 | Success | The firmware has been successfully updated |
| 1 | In Progress | The firmware update has been initiated but is not yet complete |
| 2 | Out of Memory | An out of memory condition has been detected during the operation. |
| 3 | Connection Lost | The connection was lost during the firmware download |
| 4 | Verification Failed | The firmware did not pass verification |
| 5 | Unsupported Image | The downloaded firmware image is not supported by the device |
| 6 | Invalid URI | The device could not download the firmware from the provided URI |
| Enum Constant and Description |
|---|
CONNECTION_LOST |
IN_PROGRESS |
INVALID_URI |
OUT_OF_MEMORY |
SUCCESS |
UNSUPPORTED_IMAGE |
VERIFICATION_FAILED |
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Returns the current Firmware Update Status
|
static DeviceFirmware.FirmwareUpdateStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceFirmware.FirmwareUpdateStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceFirmware.FirmwareUpdateStatus SUCCESS
public static final DeviceFirmware.FirmwareUpdateStatus IN_PROGRESS
public static final DeviceFirmware.FirmwareUpdateStatus OUT_OF_MEMORY
public static final DeviceFirmware.FirmwareUpdateStatus CONNECTION_LOST
public static final DeviceFirmware.FirmwareUpdateStatus VERIFICATION_FAILED
public static final DeviceFirmware.FirmwareUpdateStatus UNSUPPORTED_IMAGE
public static final DeviceFirmware.FirmwareUpdateStatus INVALID_URI
public static DeviceFirmware.FirmwareUpdateStatus[] values()
for (DeviceFirmware.FirmwareUpdateStatus c : DeviceFirmware.FirmwareUpdateStatus.values()) System.out.println(c);
public static DeviceFirmware.FirmwareUpdateStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getStatus()
Copyright © 2019. All rights reserved.