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.
* 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.