From 16dba6390e2f03edb4051936cdaf3bbe74d6a8ec Mon Sep 17 00:00:00 2001 From: Jon West Date: Mon, 2 Sep 2024 09:35:11 -0400 Subject: [PATCH] updates-and-ota: add Updater SDK ststus codes --- features/updates-and-ota.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/features/updates-and-ota.md b/features/updates-and-ota.md index 154544ff..815c933c 100644 --- a/features/updates-and-ota.md +++ b/features/updates-and-ota.md @@ -185,6 +185,28 @@ $ sha256sum Bliss-Go-v15.8.6-x86_64-OFFICIAL-vanilla-20231031.zip $ wc -c Bliss-Go-v15.8.6-x86_64-OFFICIAL-vanilla-20231031.zip ``` +### OTA _ Update Status Codes: + +**UpdaterSDK** + +``` +public class UpdateItemStatus { + public static final int UNKNOWN = 0; + public static final int STARTING = 1; + public static final int DOWNLOADING = 2; + public static final int PAUSED = 3; + public static final int PAUSED_ERROR = 4; + public static final int DELETED = 5; + public static final int VERIFYING = 6; + public static final int VERIFIED = 7; + public static final int VERIFICATION_FAILED = 8; + public static final int INSTALLING = 9; + public static final int INSTALLED = 10; + public static final int INSTALLATION_FAILED = 11; + public static final int INSTALLATION_CANCELLED = 12; + public static final int INSTALLATION_SUSPENDED = 13; +``` + ### OTA - Dedicated Update Server **ShipperStack**