d2d-conv-manager: modify iotcon_remote_resource_create()'s option 68/98968/1 accepted/tizen/common/20161122.192709 accepted/tizen/mobile/20161122.235338 accepted/tizen/tv/20161122.235401 accepted/tizen/wearable/20161122.235422 submit/tizen/20161121.100048
authorHongkuk, Son <hongkuk.son@samsung.com>
Mon, 21 Nov 2016 08:29:01 +0000 (17:29 +0900)
committerHongkuk Son <hongkuk.son@samsung.com>
Mon, 21 Nov 2016 08:34:20 +0000 (00:34 -0800)
IOTCON_CONNECTIVITY_IPV4_ONLY -> not work
IOTCON_CONNECTIVITY_IP -> works

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I553b660f331606e8f7183456bf1f1f3dab1d9a7d

daemon/service_provider/RemoteAppControlServiceProvider.cpp

index 2c726c4..5e4ec2d 100755 (executable)
@@ -673,7 +673,7 @@ int conv::RemoteAppControlServiceProvider::startRequest(Request* requestObj)
 
        iotcon_resource_interfaces_add(resource_ifaces, IOTCON_INTERFACE_DEFAULT);
 
-       error = iotcon_remote_resource_create(svcInfo->iotconInfoObj.address.c_str(), IOTCON_CONNECTIVITY_IPV4_ONLY, svcInfo->iotconInfoObj.uri.c_str(), properties, resource_types, resource_ifaces,
+       error = iotcon_remote_resource_create(svcInfo->iotconInfoObj.address.c_str(), IOTCON_CONNECTIVITY_IP, svcInfo->iotconInfoObj.uri.c_str(), properties, resource_types, resource_ifaces,
                        &(svcInfo->iotconInfoObj.iotconResourceHandle));
 
        _D("remote resource created : %s, %s", svcInfo->iotconInfoObj.address.c_str(), svcInfo->iotconInfoObj.uri.c_str());