Commit ac809aaf authored by Harry's avatar Harry

[IOT-2833]Sync java ESResult with C++ one.

Java ESResult is not in sync with C++ SDK ESResult
enum values.

Change-Id: I0ab0e1ba88858fc8c511a56d046d40c1708760cd
Signed-off-by: default avatarHarry <h.marappa@samsung.com>
parent b854aa90
......@@ -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
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment