Modify subscribe presence query. 79/11279/2
authorKIM JungYong <jyong2.kim@samsung.com>
Thu, 1 Sep 2016 11:53:11 +0000 (20:53 +0900)
committerUze Choi <uzchoi@samsung.com>
Fri, 2 Sep 2016 05:35:50 +0000 (05:35 +0000)
Changed query is calculated to receive presence message on ipv6.

Change-Id: I53db76230b96dc12a3174de37b14fa0044eafc67
Signed-off-by: KIM JungYong <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11279
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/notification/src/consumer/NSConsumerNetworkEventListener.c

index 4d420af..82ccd24 100644 (file)
@@ -29,7 +29,7 @@
 #include "NSConsumerDiscovery.h"
 #include "NSConsumerNetworkEventListener.h"
 
-#define NS_PRESENCE_SUBSCRIBE_QUERY "coap://224.0.1.187:5683/oic/ad?rt=oic.r.notification"
+#define NS_PRESENCE_SUBSCRIBE_QUERY "/oic/ad?rt=oic.r.notification"
 
 void NSConnectionStateListener(const CAEndpoint_t * info, bool isConnected);