std::cout << "Exception: " << e.what() << std::endl;
}
+ pthread_mutex_lock(&mutex_lock);
isWaiting = 0;
+ pthread_mutex_unlock(&mutex_lock);
}
// Callback to found resources
if (g_maintenanceResource == NULL)
g_maintenanceResource = resource;
}
- else if (resource->uri() == "/factorySet")
+ else if (resource->uri() == "/factoryset")
{
OCPlatform::bindResource(setCollectionHandle, foundResourceHandle);
if (g_setResource == NULL)
types.push_back("oic.wk.con");
types.push_back("oic.wk.mnt");
- types.push_back("factorySet");
+ types.push_back("factoryset");
std::cout << "Finding Configuration Resource... " << std::endl;
std::cout << "Finding Maintenance Resource... " << std::endl;