Update MOT Enable API and added some ESResult.
- Security-layer support MOT enabled API. So updated MOT enabled API.
Please check following changes.
1. When the mediator finds an owned-secured resource that is MOT disabled,
it can enable it according to whether it is the owner or the sub-owner.
2. MOT related functions are separated.
3. Changes in DB synchronized check logic have occurred as the above changes occur.
- Added some ESResult(e.g. ES_MOT_NOT_SUPPORTED, ES_MOT_ENABLING_FAILURE)
Change-Id: I5af3bdfcfbdf6b62b50a07e2d6d699c96a7a2667
Signed-off-by: Parkhi <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17087
Reviewed-by: Jihun Ha <jihun.ha@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>