From: Sachin Agrawal Date: Wed, 9 Sep 2015 16:16:59 +0000 (-0700) Subject: Removed unused defines from ocstackconfig header file X-Git-Tag: 1.0.0-RC1~47^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef100c827ac12e15dbd51bc32df1c448646c3438;p=contrib%2Fiotivity.git Removed unused defines from ocstackconfig header file Since OIC stack now supports Block wise transfer and payload check is done in CA layer for MAX PDU size, there is no need for max request and max response variables. MAx Dev address size is defined in cacommon header file. Change-Id: I77de6aba4664d8675b559abe4d220a0ce722ff51 Signed-off-by: Sachin Agrawal Reviewed-on: https://gerrit.iotivity.org/gerrit/2430 Tested-by: jenkins-iotivity Reviewed-by: Erich Keane Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/stack/include/ocstackconfig.h b/resource/csdk/stack/include/ocstackconfig.h index b14f434..ab0fc29 100644 --- a/resource/csdk/stack/include/ocstackconfig.h +++ b/resource/csdk/stack/include/ocstackconfig.h @@ -29,36 +29,6 @@ #ifndef OCSTACK_CONFIG_H_ #define OCSTACK_CONFIG_H_ -/** This would need to be updated in future as we move to support IPv6 and other - * technologies. - */ -#define DEV_ADDR_SIZE_MAX (16) - -/** - * Maximum length of the response supported by Server for any REST request. - * The actual repsonse length is 256 for Arduino and 1024 for other platforms. - * Note that the stack will add a prefix and suffix to the payload. - * @code - * Prefix : {"oic":[ - * Suffix : ]} - * @endcode - * They have a combined size of 10 bytes. - */ -#ifdef WITH_ARDUINO -#define MAX_RESPONSE_LENGTH (256) -#else -#define MAX_RESPONSE_LENGTH (1024) -#endif - -/** - * Maximum length of the request supported by Client/Server for any REST request. - */ -#ifdef WITH_ARDUINO -#define MAX_REQUEST_LENGTH (256) -#else -#define MAX_REQUEST_LENGTH (1024) -#endif - /** * Maximum length of the URI supported by client/server while processing * REST requests/responses.