replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_edr_adapter / tizen / caedrendpoint.h
index 3df03f3..b5387fd 100644 (file)
@@ -28,7 +28,7 @@
 #define CA_EDR_ENDPOINT_H_
 
 #include <bluetooth.h>
-
+#include <tizen.h>
 #include "cacommon.h"
 
 #ifdef __cplusplus
@@ -37,20 +37,18 @@ extern "C"
 #endif
 
 /**
- * @brief  Send data over RFCOMM connection.
+ * Send data over RFCOMM connection.
  *
- * @param  serverFD         [IN] The RFCOMM connection socket file descriptor.
- * @param  data             [IN] The data needs to be sent.
- * @param  dataLength       [IN] The length of data.
- * @param  sentDataLength   [IN] The length of data which actually sent successful.
+ * @param[in]  serverFD          The RFCOMM connection socket file descriptor.
+ * @param[in]  data              The data needs to be sent.
+ * @param[in]  dataLength        The length of data.
  *
- * @return #CA_STATUS_OK or Appropriate error code
- * @retval #CA_STATUS_OK  Successful
- * @retval #CA_STATUS_INVALID_PARAM  Invalid input argumets
- * @retval #CA_STATUS_FAILED Operation failed
+ * @return ::CA_STATUS_OK or Appropriate error code.
+ * @retval ::CA_STATUS_OK  Successful.
+ * @retval ::CA_STATUS_INVALID_PARAM  Invalid input arguments.
+ * @retval ::CA_STATUS_FAILED Operation failed.
  */
-CAResult_t CAEDRSendData(int serverFD, const void *data, uint32_t dataLength,
-                        uint32_t *sentDataLength);
+CAResult_t CAEDRSendData(int serverFD, const char *addr, const void *data, uint32_t dataLength);
 
 #ifdef __cplusplus
 } /* extern "C" */