Update for Multi Ownership Transfer condition
authorJihun Ha <jihun.ha@samsung.com>
Sat, 7 Jan 2017 04:09:08 +0000 (13:09 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 9 Jan 2017 02:01:09 +0000 (02:01 +0000)
commit505aee795593c8d3fd436980feb0e80ccbc1ff85
tree818955130e8f358e1ec400aece8ea64bb21faa22
parentf2d3b2d7a8d5d1e54806062d09fb4df48289d963
Update for Multi Ownership Transfer condition

The found enrollee's owner ID indicates a same ID of mediator.
However, a list of owned devices managed in mediator's PMD db has
no element for the found enrollee. In that case, MOT will be failed.

For this, ES_OWNERSHIP_IS_NOT_SYNCHRONIZED value is returned, which
guides a user to reset a Enrollee's SVR DB file.

Change-Id: Ia5feaccccfc4cca4a0673d08cbba4d473324e37f
Signed-off-by: Parkhi <h_w.park@samsung.com>
Signed-off-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16191
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/inc/escommon.h
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp