[IOT-569] fixed Transport type issue in EDR
authorjihwan.seo <jihwan.seo@samsung.com>
Wed, 17 Jun 2015 10:46:56 +0000 (19:46 +0900)
committerErich Keane <erich.keane@intel.com>
Wed, 17 Jun 2015 22:16:07 +0000 (22:16 +0000)
there is previous Transport type in IPv6 changed.

Change-Id: Id91b83d673baa83bf562c68f8521f5563f931c37
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1324
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 99122f6..3d944ee 100644 (file)
@@ -152,7 +152,7 @@ CAResult_t CAEDRGetInterfaceInformation(CAEndpoint_t **info)
 
     // Create local endpoint using util function
     CAEndpoint_t *endpoint = CAAdapterCreateEndpoint(CA_DEFAULT_FLAGS,
-                                            CA_RFCOMM_ADAPTER, macAddress, 0);
+                                                     CA_ADAPTER_RFCOMM_BTEDR, macAddress, 0);
     if (NULL == endpoint)
     {
         OIC_LOG(ERROR, TAG, "Failed to create Local Endpoint!");