# UpgradeErrorCode

Status | Description
--- | ---
upgrading | The IPC device is being upgraded.
ver_same | The current version is already the latest version.
connet_close | The device connection is abnormal.
read_file_fail | Error reading file.
ver_err | The upgrade file does not match.
invalid_file | The file is invalid, please upload a valid file.
file_error | Error creating file.
not_exist | The device is not online.
failed | Upgrade failed.

# UpgradeStatus

Status | Description
--- | ---
IPC_UPGRADE_FILE_DOWNLOADING | Downloading upgrade file.
IPC_WAIT_FOT_UPGRADING | Upgrade file download is complete, waiting for upgrade.
IPC_UPGRADE_FILE_DOWNLOAD_FAILED | Upgrade file download failed.
IPC_UPGRADE_FINISH | Single IPC upgrade is complete.
IPC_UPGRADE_ALL_FINISH | All IPC upgrades completed.

# UpgradeResult

Status | Description
--- | ---
downloading | Upgrade file downloading.
wait_for_upgrading | Upgrade file download is complete, waiting for upgrade.
download_failed | Upgrade file download failed.
success | IPC upgrade successful.
upgrading | The IPC device is being upgraded.
ver_same | The current version is already the latest version.
connet_close | The device connection is abnormal.
read_file_fail | Error reading file.
invalid_file | The file is invalid, please upload a valid file.
ver_err | The upgrade file does not match.
failed | Upgrade failed.
param_error | Parameter error.
file_too_long | The upgrade file is too large.
not_exist | The device is not online.
all_finish | Upgrade complete.