VOL-4949: more reasons added along with DEVICE_BUSY for UploadDebugInfoStatus
Change-Id: I623c41ce3419c8ac1c48092e734f345a3155d001
diff --git a/protos/dmi/sw_management_service.proto b/protos/dmi/sw_management_service.proto
index 5678cfb..6ced46f 100644
--- a/protos/dmi/sw_management_service.proto
+++ b/protos/dmi/sw_management_service.proto
@@ -114,11 +114,17 @@
UNDEFINED_REASON = 0;
UNKNOWN_DEVICE = 1;
INTERNAL_ERROR = 2;
- DEVICE_UNREACHABLE = 3;
+ // The DM implementations should have retry mechanisms (timeout values dependant on specific implementations)
+ // and even after those if the operation cannot be completed/reached then return error with reason as DEVICE_NOT_REACHABLE
+ DEVICE_NOT_REACHABLE = 3;
REMOTE_LOCATION_UNREACHABLE = 4;
REMOTE_LOCATION_PERMISSION_DENIED = 5;
ERROR_DURING_UPLOAD = 6;
DEVICE_BUSY = 7;
+ // wrong location_url in the request
+ ERROR_IN_REQUEST = 8;
+ DEVICE_IN_WRONG_STATE = 9;
+ OPERATION_ALREADY_IN_PROGRESS = 10;
}
Reason reason = 4; // reason specifies why the status is ERROR
string location_url = 5;