Change-Id: I95917e8788bf3abce8c8cc143c5cf645286a5d5e
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17733
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
}
CAInitializeLEAdapter();
- CASetLEClientThreadPoolHandle(handle);
-
result = CAInitializeLEGattClient();
if (CA_STATUS_OK != result)
{
return CA_STATUS_FAILED;
}
+ CASetLEClientThreadPoolHandle(handle);
+
CASetLEReqRespClientCallback(CALEAdapterClientReceivedData);
CASetLEServerThreadPoolHandle(handle);
result = CAInitializeLEGattServer();
{
if (stackState == OC_STACK_UNINITIALIZED)
{
+ OIC_LOG(ERROR, TAG, "OCProcess has failed. ocstack is not initialized");
return OC_STACK_ERROR;
}
#ifdef WITH_PRESENCE