Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / resource / csdk / connectivity / src / bt_edr_adapter / android / caedrserver.h
index 5324d80..43edafa 100644 (file)
@@ -44,15 +44,10 @@ typedef void (*CAPacketReceiveCallback)(const char *address, const char *data);
 void CAEDRServerJniInit();
 
 /**
- * Initialize server for EDR.
- * @param[in]   handle           thread pool handle object.
- */
-void CAEDRServerInitialize(ca_thread_pool_t handle);
-
-/**
  * Start Accept Thread.
+ * @return ::CA_STATUS_OK or Appropriate error code.
  */
-void CAEDRServerStartAcceptThread();
+CAResult_t CAEDRServerStartAcceptThread();
 
 /**
  * Start unicast server.
@@ -83,10 +78,9 @@ CAResult_t CAEDRStopMulticastServer();
  * This function will read the data from remote device.
  * @param[in]  env              JNI interface pointer.
  * @param[in]  id               index of remote address.
- * @param[in]  type             EDR server type.
  * @return ::CA_STATUS_OK or Appropriate error code.
  */
-CAResult_t CAEDRNativeReadData(JNIEnv *env, uint32_t id, CAAdapterServerType_t type);
+CAResult_t CAEDRNativeReadData(JNIEnv *env, uint32_t id);
 
 /**
  * Start Listen Task.