* Maximum length of the URI supported by client/server while processing
* REST requests/responses.
*/
+#if defined(ARDUINO) || defined(__TIZENRT__)
#define MAX_URI_LENGTH (64)
+#else
+#define MAX_URI_LENGTH (256)
+#endif
/**
* Maximum length of the query supported by client/server while processing
* REST requests/responses.
*/
+#if defined(ARDUINO) || defined(__TIZENRT__)
#define MAX_QUERY_LENGTH (64)
+#else
+#define MAX_QUERY_LENGTH (256)
+#endif
+
/**
* Maximum length of the Manufacturer name supported by the server
* for manufacturer name.
+ * @deprecated use MAX_PLATFORM_NAME_LENGTH instead.
*/
-#define MAX_MANUFACTURER_NAME_LENGTH (16)
+#define MAX_MANUFACTURER_NAME_LENGTH (64)
/**
* Maximum length of the URL to the Manufacturer details supported by
* the server.
+ * @deprecated use MAX_PLATFORM_URL_LENGTH instead.
+ */
+#define MAX_MANUFACTURER_URL_LENGTH (256)
+
+/**
+ * Maximum length of the value supported by the server
+ * for platform property of type string.
+ */
+#define MAX_PLATFORM_NAME_LENGTH (64)
+
+/**
+ * Maximum length of the URL supported by the server
+ * for platform property of type url.
*/
-#define MAX_MANUFACTURER_URL_LENGTH (32)
+#define MAX_PLATFORM_URL_LENGTH (256)
/**
* Maximum number of resources which can be contained inside collection
* Maximum number of vendor specific header options an application can set or receive
* in PDU
*/
+#if defined(ARDUINO) || defined(__TIZENRT__)
#define MAX_HEADER_OPTIONS (2)
+#else
+#define MAX_HEADER_OPTIONS (50)
+#endif
/**
* Maximum Length of the vendor specific header option
*/
-#define MAX_HEADER_OPTION_DATA_LENGTH (16)
+#if defined(ARDUINO) || defined(__TIZENRT__)
+#define MAX_HEADER_OPTION_DATA_LENGTH (20)
+#else
+#define MAX_HEADER_OPTION_DATA_LENGTH (1024)
+#endif
/**
* Sets the time to live (TTL) for response callback(s).