+http://suprem.sec.samsung.net/jira/browse/CONPRO-1237
+
+commit_info_2018-02-21.txt
+
+commit_id: aa7649f561c5e2d806aa4bd6aa94d258da6f7433
+----------------------------------------------------------------------------------------------------------------------------------
http://suprem.sec.samsung.net/jira/browse/CONPRO-1230
commit_info_2018-02-14.txt
OCStackResult DeInitCredResource()
{
OCStackResult result = OCDeleteResource(gCredHandle);
- DeleteCredList(gCred);
- gCred = NULL;
+ gCredHandle = NULL;
+ if(gCred){
+ DeleteCredList(gCred);
+ gCred = NULL;
+ }
return result;
}
InvokeOtmEventHandler(ehRequest->devAddr.addr, ehRequest->devAddr.port,
NULL, OIC_OTM_STARTED);
}
+ else
+ {
+ OIC_LOG_V(INFO, TAG, "%s: request owner not empty",__func__);
+ char* strUuid = NULL;
+ if (OC_STACK_OK == ConvertUuidToStr(&newDoxm->owner, &strUuid))
+ {
+ OIC_LOG_V(INFO, TAG, "%s: request owner: %s",__func__, strUuid);
+ OICFree(strUuid);
+ }
+ }
#endif
if (OIC_JUST_WORKS == newDoxm->oxmSel || OIC_MV_JUST_WORKS == newDoxm->oxmSel)
ES_STATE_FAILED_TO_PUBLISH_RESOURCES_TO_CLOUD,
/**
+ * Status indicating aborted provisioning by enrollee
+ */
+ ES_STATE_ABORTED_PROVISIONING_BY_ENROLLEE,
+
+ /**
* End of Easy setup status
*/
ES_STATE_EOF = 255