fix Tizen build issue related BLE MTU negotiation.
authorjihwan.seo <jihwan.seo@samsung.com>
Tue, 24 Jan 2017 05:46:59 +0000 (14:46 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 1 Feb 2017 07:15:18 +0000 (07:15 +0000)
Change-Id: I4df80bd64137c38f6b1683e6b9eb859b00436182
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16715
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.h

index df00e46..b77d623 100644 (file)
@@ -1211,5 +1211,13 @@ CAResult_t CALEClientSetMtuSize(const char* address, uint16_t mtuSize)
     VERIFY_NON_NULL(address, TAG, "address is null");
     //@Todo
     //it should be implemented after update Tizen 3.0
-    return CA_STATUS_OK;
+    return CA_NOT_SUPPORTED;
+}
+
+CAResult_t CALEClientSendNegotiationMessage(const char* address)
+{
+    OIC_LOG_V(DEBUG, TAG, "CALEClientSendNegotiationMessage(%s)", address);
+    //@Todo
+    //it will be implemented when tizen public 3.0 is released.
+    return CA_NOT_SUPPORTED;
 }
index c808b95..6372429 100644 (file)
@@ -202,4 +202,10 @@ uint16_t CALEClientGetMtuSize(const char* address);
  */
 CAResult_t CALEClientSetMtuSize(const char* address, uint16_t mtuSize);
 
+/**
+ * Send negotiation message after gatt connection is done.
+ * @param[in]   address               remote address.
+ * @return  ::CA_STATUS_OK or ERROR CODES (::CAResult_t error codes in cacommon.h).
+ */
+CAResult_t CALEClientSendNegotiationMessage(const char* address);
 #endif /* TZ_BLE_CLIENT_H_ */