Merge tizen_5.0 codes into tizen_4.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_le_adapter / caleadapter.c
index 94b4f6e..2a6c02d 100755 (executable)
@@ -1180,8 +1180,11 @@ static void CALEServerSendDataThread(void *threadData)
         return;
     }
 
-#if defined(__ANDROID__)
+#if defined(__TIZEN__) || defined(__ANDROID__)
     // get MTU size
+    OIC_LOG_V(INFO, CALEADAPTER_TAG, "Get MTU size using API");
+
+
     g_mtuSize = CALEServerGetMtuSize(bleData->remoteEndpoint->addr);
 #endif
     OIC_LOG_V(INFO, CALEADAPTER_TAG, "MTU size [%d]", g_mtuSize);