[Easy-Setup] Fixed Android-Arduino issue. 61/7661/2
authorJay Sharma <jay.sharma@samsung.com>
Thu, 7 Apr 2016 14:49:24 +0000 (20:19 +0530)
committerMadan Lanka <lanka.madan@samsung.com>
Fri, 8 Apr 2016 07:16:56 +0000 (07:16 +0000)
Change-Id: I0b8d4b918047f0a95b1d1b45e79bf439d458700c
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/7661
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
service/easy-setup/mediator/richsdk/src/RemoteEnrolleeResource.cpp

index b401b27..368c5e0 100755 (executable)
@@ -125,6 +125,12 @@ namespace OIC
                         "checkProvInformationCb : Provisioning is success. "
                         "Now trigger network connection ");
 
+                #ifdef REMOTE_ARDUINO_ENROLEE
+                 std::shared_ptr< ProvisioningStatus > provStatus = std::make_shared<
+                        ProvisioningStatus >(ESResult::ES_OK, ESState::ES_PROVISIONING_SUCCESS);
+                m_provStatusCb(provStatus);
+                #endif
+
                 triggerNetworkConnection();
                 return;
             }