[IOT-2833]Sync java ESResult with C++ one. 65/22965/1 1.3.1-RC4
authorHarry <h.marappa@samsung.com>
Mon, 23 Oct 2017 12:23:03 +0000 (17:53 +0530)
committerHarry <h.marappa@samsung.com>
Mon, 23 Oct 2017 12:23:03 +0000 (17:53 +0530)
Java ESResult is not in sync with C++ SDK ESResult
enum values.

Change-Id: I0ab0e1ba88858fc8c511a56d046d40c1708760cd
Signed-off-by: Harry <h.marappa@samsung.com>
service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/org/iotivity/service/easysetup/mediator/enums/ESResult.java

index 9495cb0..14178ac 100755 (executable)
@@ -26,13 +26,22 @@ package org.iotivity.service.easysetup.mediator.enums;
 public enum ESResult {
 
     ES_OK(0),
+    ES_SECURE_RESOURCE_IS_DISCOVERED(1),
     ES_ENROLLEE_DISCOVERY_FAILURE(11),
     ES_COMMUNICATION_ERROR(12),
-    ES_SEC_OPERATION_IS_NOT_SUPPORTED(20),
-    ES_SECURE_RESOURCE_DISCOVERY_FAILURE(21),
-    ES_OWNERSHIP_TRANSFER_FAILURE(22),
-    ES_ACL_PROVISIONING_FAILURE(23),
-    ES_CERT_PROVISIONING_FAILURE(24),
+    ES_SEC_OPERATION_IS_NOT_SUPPORTED(13),
+    ES_SECURE_RESOURCE_DISCOVERY_FAILURE(14),
+    ES_OWNERSHIP_TRANSFER_FAILURE(20),
+    ES_USER_DENIED_CONFIRMATION_REQ(21),
+    ES_AUTHENTICATION_FAILURE_WITH_WRONG_CERT(22),
+    ES_AUTHENTICATION_FAILURE_WITH_WRONG_PIN(23),
+    ES_OWNERSHIP_IS_NOT_SYNCHRONIZED(24),
+    ES_MOT_NOT_SUPPORTED(30),
+    ES_MOT_ENABLING_FAILURE(31),
+    ES_MOT_METHOD_SELECTION_FAILURE(32),
+    ES_PRE_CONFIG_PIN_PROVISIONING_FAILURE(33),
+    ES_ACL_PROVISIONING_FAILURE(40),
+    ES_CERT_PROVISIONING_FAILURE(41),
     ES_ERROR(255);
 
     private int value;
@@ -53,4 +62,4 @@ public enum ESResult {
         }
         return null;
     }
-};
\ No newline at end of file
+};