X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resource%2Finclude%2FStringConstants.h;h=b7b0a629ba71748929f98a1945eb9e9a1480424c;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=4bb245b1d374d5ed5d65fc0d533420023e597898;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/resource/include/StringConstants.h b/resource/include/StringConstants.h index 4bb245b..b7b0a62 100644 --- a/resource/include/StringConstants.h +++ b/resource/include/StringConstants.h @@ -80,6 +80,7 @@ namespace OC static const char NOT_FOUND[] = "Resource Not Found"; static const char RESOURCE_ERROR[] = "Resource Error"; static const char SLOW_RESOURCE[] = "Slow Resource"; + static const char DUPLICATE_REQUEST[] = "Duplicate Request"; static const char NO_OBSERVERS[] = "No Observers"; static const char OBSV_NO_FOUND[] = "Stack observer not found"; static const char OBSV_NOT_ADDED[] = "Stack observer not added"; @@ -103,6 +104,7 @@ namespace OC static const char INVALID_JSON_TYPE_TAG[] = "Invalid JSON Type Tag"; static const char INVALID_ATTRIBUTE[] = "Invalid Attribute: "; static const char INVALID_DEVICE_INFO[] = "Invalid Device Information"; + static const char UNAUTHORIZED_REQUEST[] = "Unauthorized Request"; } @@ -121,16 +123,19 @@ namespace OC namespace Key { - static const std::string OCKEY = "oc"; + static const std::string OCKEY = "oic"; static const std::string URIKEY = "href"; - static const std::string OBSERVABLEKEY = "obs"; + static const std::string POLICYKEY = "p"; + static const std::string BMKEY = "bm"; static const std::string RESOURCETYPESKEY = "rt"; static const std::string INTERFACESKEY = "if"; static const std::string PROPERTYKEY = "prop"; static const std::string REPKEY = "rep"; static const std::string SECUREKEY = "sec"; static const std::string PORTKEY = "port"; - static const std::string SERVERIDKEY = "sid"; + static const std::string DEVICEIDKEY = "di"; + static const std::string LINKS = "links"; + } }