//Helper method
OCResource::Ptr ConstructResourceObject(std::string host, std::string uri)
{
- OCConnectivityType connectivityType = OC_IPV4;
+ OCConnectivityType connectivityType = CT_DEFAULT;
std::vector<std::string> types = {"intel.rpost"};
std::vector<std::string> ifaces = {DEFAULT_INTERFACE};
{
OCResource::Ptr resource = ConstructResourceObject("coap://192.168.1.2:5000", "/resource");
EXPECT_TRUE(resource != NULL);
- EXPECT_TRUE(resource->connectivityType() == OC_IPV4);
+ EXPECT_TRUE(resource->connectivityType() == CT_DEFAULT);
}
//IsObservable Test