*
* @param host - Host IP Address. If null or empty, Multicast is performed.
* @param deviceURI - Uri containing address to the virtual device in C Stack
- ("/oc/core/d")
+ ("/oic/d")
* @param connectivityType - @ref OCConnectivityType type of connectivity indicating the
* interface. Example: OC_WIFI, OC_ETHERNET, OC_ALL
* @param deviceInfoHandler - device discovery callback
* Above relative URI will be prepended (by core) with a host IP + namespace "oc"
* Therefore, fully qualified URI format would be //HostIP-Address/namespace/relativeURI"
* Example, a relative URI: 'a/light' will result in a fully qualified URI:
- * //192.168.1.1/oc/a/light"
+ * //192.168.1.1/oic/a/light"
* First parameter can take a relative URI and core will take care of preparing the fully
* qualified URI OR
* first parameter can take fully qualified URI and core will take that as is for further
* @param interfaces - a collection of interfaces that the resource supports/implements
* @return OCResource::Ptr - a shared pointer to the new resource object
*/
- OCResource::Ptr constructResourceObject(const std::string& host, const std::string& uri,
+ OCResource::Ptr constructResourceObject(const std::string& host,
+ const std::string& uri,
OCConnectivityType connectivityType, bool isObservable,
const std::vector<std::string>& resourceTypes,
const std::vector<std::string>& interfaces);