diff --git a/service/notification-manager/NotificationManager/include/hosting.h b/service/notification-manager/NotificationManager/include/hosting.h index c85eea8581cffe382a2586887a045d5fbef95494..5a18a0a0590ef1d93f6ddad9256bb5dd0f3d8ec4 100755 --- a/service/notification-manager/NotificationManager/include/hosting.h +++ b/service/notification-manager/NotificationManager/include/hosting.h @@ -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" { diff --git a/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp b/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp index 054465d51c4c96938e3cfa0249dcc67b169dc8e5..38a86821733f15b86ca0116cdcd4957ce2ece3f5 100755 --- a/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp +++ b/service/notification-manager/SampleApp/linux/sampleConsumer/SampleConsumer.cpp @@ -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