Fix packet loss related BLE fragmentation & MTU attr value size 17/18117/4
authorjihwan.seo <jihwan.seo@samsung.com>
Thu, 23 Mar 2017 07:57:16 +0000 (16:57 +0900)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Tue, 28 Mar 2017 20:17:36 +0000 (20:17 +0000)
Change-Id: I26bd9c1303b5f6f4b5bf71a4e5a16989d90fe20b
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18117
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
resource/csdk/connectivity/inc/caleinterface.h
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleserver.c

index af384c4..8b12a62 100644 (file)
@@ -84,7 +84,7 @@ typedef struct
 /**
  * The Header of the MTU supported for BLE spec
  */
-#define CA_BLE_MTU_HEADER_SIZE  3
+#define CA_BLE_MTU_HEADER_SIZE  5
 
 /**
  * This will be used to notify device status changes to the LE adapter layer.
index c38647f..39ebaef 100644 (file)
@@ -34,9 +34,9 @@
 #define TAG "OIC_CA_LE_SERVER"
 
 /**
- * Initial buffer size for Gatt Server.
+ * Initial buffer size(attr value max size) for Gatt Server.
  */
-#define CA_LE_INITIAL_BUF_SIZE 512
+#define CA_LE_INITIAL_BUF_SIZE (512)
 
 /**
  * The handle of the OIC server.