[Update] process of provisioning was split. 27/8427/3
authorHeewon Park <h_w.park@samsung.com>
Fri, 3 Jun 2016 06:21:23 +0000 (15:21 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 7 Jun 2016 02:19:12 +0000 (02:19 +0000)
commitd89db3eaa13faa4fbab68534a4ed016d63899eab
tree39f1faa07b3e87e4e5da60a58cdad076c75f7902
parent6f6aa08d4e7ac7379a398155fe1bc1b96bf8bddc
[Update] process of provisioning was split.

Previously, Easy Setup for Mediator provided only 1 API, startProvisioning,
which was responsible for whole processes of easy setup.
We thought this approach had a limitation in case of user interaction required scenarios.
For this reason, we provide multiple APIs rather than a single API and
each of the processes of easy setup is as follows:

1. Discovery
2. SecurityProvisioning
3. Request Enrollee's resources
4. Data Provisioning (WiFi AP, device configuration information)
5. Cloud data provisioning (Auth Code, not implemented yet)

Change-Id: I172b9130531a0bb9e5b0f74aaee40a07523dcbd0
Signed-off-by: Heewon Park <h_w.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8427
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/easy-setup/mediator/richsdk/SConscript
service/easy-setup/mediator/richsdk/inc/ESRichCommon.h
service/easy-setup/mediator/richsdk/inc/EasySetup.h
service/easy-setup/mediator/richsdk/inc/EnrolleeResource.h [moved from service/easy-setup/mediator/richsdk/inc/RemoteEnrolleeResource.h with 76% similarity]
service/easy-setup/mediator/richsdk/inc/EnrolleeSecurity.h
service/easy-setup/mediator/richsdk/inc/RemoteEnrollee.h
service/easy-setup/mediator/richsdk/src/EasySetup.cpp
service/easy-setup/mediator/richsdk/src/EnrolleeResource.cpp [moved from service/easy-setup/mediator/richsdk/src/RemoteEnrolleeResource.cpp with 66% similarity]
service/easy-setup/mediator/richsdk/src/EnrolleeSecurity.cpp
service/easy-setup/mediator/richsdk/src/RemoteEnrollee.cpp