Update Unicast Discovery URI for Notification Manager
authorjyong2.kim <jyong2.kim@samsung.com>
Wed, 20 May 2015 13:00:46 +0000 (22:00 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 20 May 2015 15:01:44 +0000 (15:01 +0000)
Change-Id: I46fa1f06e4e5f20567b8308c14a4a2b60d776024
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1050
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/notification-manager/NotificationManager/include/hosting.h
service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp

index c85eea8..5a18a0a 100755 (executable)
@@ -30,7 +30,8 @@
 #include "ocstack.h"
 #include "logger.h"
 
-#define OC_TRANSPORT OC_ALL
+//#define OC_TRANSPORT OC_ALL
+#define OC_TRANSPORT OC_IPV4
 
 #ifdef __cplusplus
 extern "C" {
index 054465d..38a8682 100755 (executable)
@@ -34,7 +34,7 @@ using namespace OC;
 
 const int SUCCESS_RESPONSE = OC_STACK_OK;
 
-#define OC_WELL_KNOWN_COORDINATING_QUERY "224.0.1.187:5683/oc/core?rt=Resource.Hosting"
+#define OC_WELL_KNOWN_COORDINATING_QUERY "/oc/core?rt=Resource.Hosting"
 
 #define OBSERVE 1
 #define GET     2