diff options
author | hedger <hedger@users.noreply.github.com> | 2022-05-10 19:57:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 19:57:07 +0300 |
commit | ffa62429f3c678537e0e883a3a8c3ae5f1398ed4 (patch) | |
tree | 80dfe1f7ea1e7f10d0c16934283810ba49ea3a1c | |
parent | 0ad90705b9434b6f8fb2c4b605069f0d56d8cc70 (diff) |
Added UpdateResponse (#29)0.7
-rw-r--r-- | Changelog | 4 | ||||
-rw-r--r-- | flipper.proto | 1 | ||||
-rw-r--r-- | system.proto | 14 |
3 files changed, 19 insertions, 0 deletions
@@ -1,5 +1,9 @@ # Changelog +## [0.7] +### Added +- System message: UpdateResponse: passing update preparation detailed status + ## [0.6] ### Added - System message: RebootRequest: added UPDATE restart mode diff --git a/flipper.proto b/flipper.proto index 72bf07b..ea848f4 100644 --- a/flipper.proto +++ b/flipper.proto @@ -69,6 +69,7 @@ message Main { .PB_System.ProtobufVersionRequest system_protobuf_version_request = 39; .PB_System.ProtobufVersionResponse system_protobuf_version_response = 40; .PB_System.UpdateRequest system_update_request = 41; + .PB_System.UpdateResponse system_update_response = 46; .PB_System.PowerInfoRequest system_power_info_request = 44; .PB_System.PowerInfoResponse system_power_info_response = 45; .PB_Storage.InfoRequest storage_info_request = 28; diff --git a/system.proto b/system.proto index b518f16..0e626c2 100644 --- a/system.proto +++ b/system.proto @@ -69,6 +69,20 @@ message UpdateRequest { string update_manifest = 1; } +message UpdateResponse { + enum UpdateResultCode { + OK = 0; + ManifestPathInvalid = 1; + ManifestFolderNotFound = 2; + ManifestInvalid = 3; + StageMissing = 4; + StageIntegrityError = 5; + ManifestPointerError = 6; + TargetMismatch = 7; + } + UpdateResultCode code = 1; +} + message PowerInfoRequest { } |