Removed unused defines from ocstackconfig header file
authorSachin Agrawal <sachin.agrawal@intel.com>
Wed, 9 Sep 2015 16:16:59 +0000 (09:16 -0700)
committerJon A. Cruz <jonc@osg.samsung.com>
Wed, 9 Sep 2015 20:52:31 +0000 (20:52 +0000)
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 <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2430
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/stack/include/ocstackconfig.h

index b14f434..ab0fc29 100644 (file)
 #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.