goto IotivityStop;
}
-#ifdef WITH_PRESENCE
result = OCStartPresence(0);
if (result != OC_STACK_OK)
{
OIC_LOG_V(ERROR, TAG, "OCStartPresence Failed: %d", result);
goto IotivityStop;
}
-#endif
+
// PIStartPlugin
PIPlugin* plugin = NULL;
OIC_LOG(INFO, TAG, "IoTivity Initialized properly, Starting Zigbee Plugin...");