reduce max app data size
@@ -96,9 +96,9 @@ static size_t _OC_MTU_SIZE = OC_INOUT_BUFFER_SIZE;
static size_t _OC_MTU_SIZE = 2048 + COAP_MAX_HEADER_SIZE;
#endif /* !OC_INOUT_BUFFER_SIZE */
#ifdef OC_APP_DATA_BUFFER_SIZE
-static size_t _OC_MAX_APP_DATA_SIZE = 8192;
+static size_t _OC_MAX_APP_DATA_SIZE = 7168;
#else /* OC_APP_DATA_BUFFER_SIZE */
-static size_t _OC_MAX_APP_DATA_SIZE = 8192;
+static size_t _OC_MAX_APP_DATA_SIZE = 7168;
#endif /* !OC_APP_DATA_BUFFER_SIZE */
static size_t _OC_BLOCK_SIZE = 1024; // FIX
