Fix to android EDR multicast
authorjaehong.jo <jaehong.jo@samsung.com>
Wed, 3 Jun 2015 04:43:54 +0000 (13:43 +0900)
committerErich Keane <erich.keane@intel.com>
Wed, 3 Jun 2015 16:01:15 +0000 (16:01 +0000)
When send data fail, do not return.
Try to send data to next bonded list.

Change-Id: I7d3d16b768c72ca4f81c8cf7a2e8be400502986f
Signed-off-by: jaehong.jo <jaehong.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1178
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/bt_edr_adapter/android/caedrclient.c

index 386b7a1..d0f9d99 100644 (file)
@@ -738,7 +738,8 @@ CAResult_t CAEDRSendMulticastMessageImpl(JNIEnv *env, const char* data, uint32_t
         (*env)->ReleaseStringUTFChars(env, j_str_address, remoteAddress);
         if (CA_STATUS_OK != res)
         {
-            return res;
+            OIC_LOG_V(DEBUG, TAG, "[EDR][Native] Send data has failed : %s", remoteAddress);
+            continue;
         }
     }