Change-Id: I82de00e976ebcf12b6f508e6fb6a222b6cd75e1f
using namespace std;
// Entity handler used for register and find test
using namespace std;
// Entity handler used for register and find test
-void entityHandler_rf(std::shared_ptr<OCResourceRequest> request,
+OCEntityHandlerResult entityHandler_rf(std::shared_ptr<OCResourceRequest> request,
std::shared_ptr<OCResourceResponse> response)
{
std::shared_ptr<OCResourceResponse> response)
{
}
// Condition variables used for register and find
}
// Condition variables used for register and find
OC::ModeType::Both,
"0.0.0.0", // By setting to "0.0.0.0", it binds to all available interfaces
0, // Uses randomly available port
OC::ModeType::Both,
"0.0.0.0", // By setting to "0.0.0.0", it binds to all available interfaces
0, // Uses randomly available port
- OC::QualityOfService::LowQoS
+ OC::QualityOfService::LowQos
};
OCPlatform platform(cfg);
};
OCPlatform platform(cfg);